test: update tests and snapshots
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
import Vue from 'vue'
|
||||
import { shallowMount } from '@vue/test-utils';
|
||||
import CoreuiVue from '@coreui/vue'
|
||||
import Charts from '@/views/Charts'
|
||||
import Charts from '@/views/charts/Charts'
|
||||
|
||||
Vue.use(CoreuiVue)
|
||||
|
||||
describe('Charts.vue', () => {
|
||||
it('has a name', () => {
|
||||
expect(Charts.name).toMatch('Charts')
|
||||
expect(Charts.name).toBe('Charts')
|
||||
})
|
||||
it('is Vue instance', () => {
|
||||
const wrapper = shallowMount(Charts)
|
||||
|
||||
Reference in New Issue
Block a user