Files
project-work/NearBeach/tests/unit/search/SearchGroups.unit.js

30 lines
633 B
JavaScript

// Vitest
import { describe, expect, test } from "vitest";
import {mount, VueWrapper} from "@vue/test-utils";
// Import vue component
import SearchGroups from "/src/js/components/search/SearchGroups.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(SearchGroups, {
props: {
},
global: {
plugins: [store],
mocks: {
axios,
}
},
});
test('Empty test', () => {
});
})