Remove example spec.
This commit is contained in:
parent
15c20e6032
commit
26d47c0f41
1 changed files with 12 additions and 12 deletions
|
@ -1,13 +1,13 @@
|
|||
import Vue from 'vue'
|
||||
import Hello from 'src/components/Hello'
|
||||
// import Vue from 'vue'
|
||||
// import Hello from 'src/components/Hello'
|
||||
|
||||
describe('Hello.vue', () => {
|
||||
it('should render correct contents', () => {
|
||||
const vm = new Vue({
|
||||
el: document.createElement('div'),
|
||||
render: (h) => h(Hello)
|
||||
})
|
||||
expect(vm.$el.querySelector('.hello h1').textContent)
|
||||
.to.equal('Welcome to Your Vue.js App')
|
||||
})
|
||||
})
|
||||
// describe('Hello.vue', () => {
|
||||
// xit('should render correct contents', () => {
|
||||
// const vm = new Vue({
|
||||
// el: document.createElement('div'),
|
||||
// render: (h) => h(Hello)
|
||||
// })
|
||||
// expect(vm.$el.querySelector('.hello h1').textContent)
|
||||
// .to.equal('Welcome to Your Vue.js App')
|
||||
// })
|
||||
// })
|
||||
|
|
Loading…
Reference in a new issue