added codebase, project rules and sec audit
This commit is contained in:
22
NearBeach/tests/unit/dates/BetweenDates.unit.js
Normal file
22
NearBeach/tests/unit/dates/BetweenDates.unit.js
Normal file
@@ -0,0 +1,22 @@
|
||||
// Vitest
|
||||
import { describe, expect, test } from "vitest";
|
||||
import {mount, VueWrapper} from "@vue/test-utils";
|
||||
|
||||
// Import vue component
|
||||
import BetweenDates from "/src/js/components/dates/BetweenDates.vue";
|
||||
|
||||
// VueX
|
||||
import { store } from "/src/js/vuex-store";
|
||||
|
||||
describe('NewChangeTask.vue - rendering component', () => {
|
||||
//Using mount - insert data
|
||||
const wrapper = mount(BetweenDates, {
|
||||
props: {
|
||||
},
|
||||
global: {
|
||||
plugins: [store],
|
||||
},
|
||||
});
|
||||
|
||||
test('Empty test', () => {});
|
||||
});
|
||||
Reference in New Issue
Block a user