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,22 @@
// Vitest
import { describe, expect, test } from "vitest";
import {mount, VueWrapper} from "@vue/test-utils";
// Import vue component
import ChangeTaskDescription from "/src/js/components/change_task/modules/ChangeTaskDescription.vue";
// VueX
import { store } from "/src/js/vuex-store";
describe('AdminAddUser.vue - rendering component', () => {
//Using mount - insert data
const wrapper = mount(ChangeTaskDescription, {
props: {
},
global: {
plugins: [store],
},
});
test('Empty test', () => {});
});

View File

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

View File

@@ -0,0 +1,22 @@
// Vitest
import { describe, expect, test } from "vitest";
import {mount, VueWrapper} from "@vue/test-utils";
// Import vue component
import ChangeTaskMisc from "/src/js/components/change_task/modules/ChangeTaskMisc.vue";
// VueX
import { store } from "/src/js/vuex-store";
describe('AdminAddUser.vue - rendering component', () => {
//Using mount - insert data
const wrapper = mount(ChangeTaskMisc, {
props: {
},
global: {
plugins: [store],
},
});
test('Empty test', () => {});
});

View File

@@ -0,0 +1,22 @@
// Vitest
import { describe, expect, test } from "vitest";
import {mount, VueWrapper} from "@vue/test-utils";
// Import vue component
import ConfirmChangeTaskDelete from "/src/js/components/change_task/modules/ConfirmChangeTaskDelete.vue";
// VueX
import { store } from "/src/js/vuex-store";
describe('AdminAddUser.vue - rendering component', () => {
//Using mount - insert data
const wrapper = mount(ConfirmChangeTaskDelete, {
props: {
},
global: {
plugins: [store],
},
});
test('Empty test', () => {});
});

View File

@@ -0,0 +1,22 @@
// Vitest
import { describe, expect, test } from "vitest";
import {mount, VueWrapper} from "@vue/test-utils";
// Import vue component
import IsDowntime from "/src/js/components/change_task/modules/IsDowntime.vue";
// VueX
import { store } from "/src/js/vuex-store";
describe('AdminAddUser.vue - rendering component', () => {
//Using mount - insert data
const wrapper = mount(IsDowntime, {
props: {
},
global: {
plugins: [store],
},
});
test('Empty test', () => {});
});

View File

@@ -0,0 +1,22 @@
// Vitest
import { describe, expect, test } from "vitest";
import {mount, VueWrapper} from "@vue/test-utils";
// Import vue component
import RequiredBy from "/src/js/components/change_task/modules/RequiredBy.vue";
// VueX
import { store } from "/src/js/vuex-store";
describe('AdminAddUser.vue - rendering component', () => {
//Using mount - insert data
const wrapper = mount(RequiredBy, {
props: {
},
global: {
plugins: [store],
},
});
test('Empty test', () => {});
});