Initial commit
This commit is contained in:
16
tests/views/1_atoms/VButton.test.js
Normal file
16
tests/views/1_atoms/VButton.test.js
Normal file
@@ -0,0 +1,16 @@
|
||||
import {test, describe, expect} from 'vitest'
|
||||
import {mount} from '@vue/test-utils'
|
||||
import VButton from '@atoms/VButton.vue';
|
||||
|
||||
describe("tests VButton component", () => {
|
||||
test('mount test of VButton', async () => {
|
||||
|
||||
const wrapper = mount(VButton, {
|
||||
shallow: true,
|
||||
})
|
||||
|
||||
expect(wrapper.exists()).toBe(true)
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
16
tests/views/1_atoms/VInput.test.js
Normal file
16
tests/views/1_atoms/VInput.test.js
Normal file
@@ -0,0 +1,16 @@
|
||||
import {test, describe, expect} from 'vitest'
|
||||
import {mount} from '@vue/test-utils'
|
||||
import VInput from '@atoms/VInput.vue';
|
||||
|
||||
describe("tests VInput component", () => {
|
||||
test('exist test of VInput', async () => {
|
||||
|
||||
const wrapper = mount(VInput, {
|
||||
shallow: true,
|
||||
})
|
||||
|
||||
expect(wrapper.exists()).toBe(true)
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user