added codebase, project rules and sec audit

This commit is contained in:
2026-11-08 19:03:59 -05:00
parent 4816038d49
commit bcd424f91a
1798 changed files with 801283 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
// Vitest
import { describe, expect, test } from "vitest";
import {mount, VueWrapper} from "@vue/test-utils";
// Import vue component
import ParentModules from "/src/js/components/notifications/NewNotification.vue";
// VueX
import { store } from "/src/js/vuex-store";
// Axios
const axios = require("axios");
describe(' NewNotification.vue - rendering component', () => {
//Using mount - insert data
const wrapper = mount(ParentModules, {
props: {},
global: {
plugins: [store],
mocks: {
axios,
}
},
});
test('Empty test', () => {});
})

View File

@@ -0,0 +1,32 @@
// Vitest
import { describe, expect, test } from "vitest";
import {mount, VueWrapper} from "@vue/test-utils";
// Import vue component
import ParentModules from "/src/js/components/notifications/NotificationInformation.vue";
// VueX
import { store } from "/src/js/vuex-store";
// Axios
const axios = require("axios");
describe(' NotificationInformation.vue - rendering component', () => {
//Using mount - insert data
const wrapper = mount(ParentModules, {
props: {
notificationResults: [{"model":"NearBeach.notification","pk":1,"fields":{"notification_header":"A simple notification for everyone","notification_message":"Please ignore - this is a fixture notification","notification_start_date":"2023-11-14T22:00:00Z","notification_end_date":"2099-11-27T05:00:00Z","notification_location":"all","date_created":"2023-11-15T11:05:26.869Z","date_modified":"2023-11-15T11:05:26.869Z","change_user":null,"is_deleted":false}}],
rootUrl: "/",
staticUrl: "/static/",
theme: "light",
},
global: {
plugins: [store],
mocks: {
axios,
}
},
});
test('Empty test', () => {});
})