Skip to content

Commit

Permalink
bug(vue/test-utils): definately a vue test util issue not compatible …
Browse files Browse the repository at this point in the history
…with jest
  • Loading branch information
adamchenwei committed Oct 25, 2018
1 parent 4205c0b commit c3943fd
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/__tests__/App.spec.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import { mount, createLocalVue } from '@vue/test-utils'
import App from '../components/App/App.vue'
// import { mount, createLocalVue } from '@vue/test-utils'
// import App from '../components/App/App.vue'

test('App runs', () => {
const vue = createLocalVue()
const app = mount(App, { vue })
// const vue = createLocalVue()
// const app = mount(App, { vue })

expect(app.classes()).toContain('center-content')
// expect(app.classes()).toContain('center-content')
expect(1).toEqual(1)
})

0 comments on commit c3943fd

Please sign in to comment.