chore: fix e2e tests, remove unit tests

This commit is contained in:
woothu
2019-06-18 13:30:19 +02:00
parent 3ff7ab8f1e
commit a87d4266e7
49 changed files with 76 additions and 1361 deletions
-31
View File
@@ -1,31 +0,0 @@
import { shallowMount, createLocalVue } from '@vue/test-utils'
import VueRouter from 'vue-router'
import BootstrapVue from 'bootstrap-vue'
import App from '@/App'
const localVue = createLocalVue()
localVue.use(VueRouter)
const router = new VueRouter()
localVue.use(BootstrapVue)
describe('App.vue', () => {
it('has a name', () => {
expect(App.name).toMatch('app')
})
it('is Vue instance', () => {
const wrapper = shallowMount(App, {
localVue,
router
})
expect(wrapper.isVueInstance()).toBe(true)
})
it('is App', () => {
const wrapper = shallowMount(App, {
localVue,
router
})
expect(wrapper.is(App)).toBe(true)
})
})