test: restore and fix unit tests
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import Vue from 'vue'
|
||||
import CoreuiVue from '@coreui/vue'
|
||||
import TheFooter from '@/containers/TheFooter'
|
||||
import { shallowMount } from '@vue/test-utils';
|
||||
|
||||
Vue.use(CoreuiVue)
|
||||
|
||||
describe('TheFooter.vue', () => {
|
||||
|
||||
test('renders correctly', () => {
|
||||
const wrapper = shallowMount(TheFooter)
|
||||
expect(wrapper.element).toMatchSnapshot()
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user