test: update tests and snapshots

This commit is contained in:
woothu
2019-09-23 14:53:04 +02:00
parent e31a6c7542
commit 1143880608
82 changed files with 11751 additions and 12325 deletions
+2 -2
View File
@@ -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)