feat: add frontend
This commit is contained in:
13
frontend/test/Header.spec.js
Normal file
13
frontend/test/Header.spec.js
Normal file
@@ -0,0 +1,13 @@
|
||||
import { mount } from '@vue/test-utils'
|
||||
import Header from '@/components/Header.vue'
|
||||
|
||||
describe('Header', () => {
|
||||
test('is a Vue instance', () => {
|
||||
const wrapper = mount(Header, {
|
||||
stubs: {
|
||||
NuxtLink: true,
|
||||
},
|
||||
});
|
||||
expect(wrapper.vm).toBeTruthy()
|
||||
})
|
||||
})
|
Reference in New Issue
Block a user