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