boussole-pluss/frontend/test/Header.spec.js

14 lines
285 B
JavaScript
Raw Permalink Normal View History

2022-10-07 14:15:53 +00:00
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()
})
})