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