Remove example spec.

This commit is contained in:
Roger Braun 2016-11-07 18:03:48 +01:00
parent 15c20e6032
commit 26d47c0f41

View file

@ -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')
// })
// })