TheHeader.spec.js 341 B

12345678910111213
  1. import Vue from 'vue'
  2. import CoreuiVue from '@coreui/vue'
  3. import TheHeader from '@/containers/TheHeader'
  4. import { shallowMount } from '@vue/test-utils';
  5. Vue.use(CoreuiVue)
  6. describe('TheHeader.vue', () => {
  7. test('renders correctly', () => {
  8. const wrapper = shallowMount(TheHeader)
  9. expect(wrapper.element).toMatchSnapshot()
  10. })
  11. })