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

View File

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

View File

@@ -0,0 +1,31 @@
// Vitest
import { describe, expect, test } from "vitest";
import {mount, VueWrapper} from "@vue/test-utils";
// Import vue component
import UserInformation from "/src/js/components/users/UserInformation.vue";
// VueX
import { store } from "/src/js/vuex-store";
// Axios
const axios = require("axios");
describe(' ParentModules.vue - rendering component', () => {
//Using mount - insert data
const wrapper = mount(UserInformation, {
props: {
rootUrl:"/",
userResults:[{"model":"auth.user","pk":7,"fields":{"password":"pbkdf2_sha256$600000$mm3IyCbjcofqWTSssaWcu6$dmbngBObwSr8Glv4jKyL1LandqtPNJ3epNfTT9dTs4U=","last_login":"2023-11-22T10:57:06.155Z","is_superuser":true,"username":"dark_admin","first_name":"Dark","last_name":"Admin","email":"support@nearbeach.org","is_staff":false,"is_active":true,"date_joined":"2023-09-06T09:36:15.453Z","groups":[],"user_permissions":[]}}],
},
global: {
plugins: [store],
mocks: {
axios,
}
},
});
test('Empty test', () => {
});
})