Files
project-work/NearBeach/tests/unit/administration/AdminAddUser.unit.js
2026-10-28 21:00:21 -04:00

30 lines
698 B
JavaScript

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