28 lines
626 B
JavaScript
28 lines
626 B
JavaScript
// Vitest
|
|
import { describe, expect, test } from "vitest";
|
|
import {mount, VueWrapper} from "@vue/test-utils";
|
|
|
|
// Import vue component
|
|
import AddBugWizard from "/src/js/components/modules/wizards/AddBugWizard.vue";
|
|
|
|
// VueX
|
|
import { store } from "/src/js/vuex-store";
|
|
|
|
// Axios
|
|
const axios = require("axios");
|
|
|
|
describe('AddBugWizard.vue - rendering component', () => {
|
|
//Using mount - insert data
|
|
const wrapper = mount(AddBugWizard, {
|
|
props: {},
|
|
global: {
|
|
plugins: [store],
|
|
mocks: {
|
|
axios,
|
|
}
|
|
},
|
|
});
|
|
|
|
test('Empty test', () => {});
|
|
})
|