Update to 1.0.5

This commit is contained in:
Łukasz Holeczek
2017-11-13 11:38:39 +01:00
parent dd05ddee61
commit a1db02c4d0
12 changed files with 39 additions and 30 deletions
+5 -5
View File
@@ -1,11 +1,11 @@
import Vue from 'vue'
import Dashboard from '@/views/Dashboard'
import Hello from '@/components/Hello'
describe('Dashboard.vue', () => {
describe('Hello.vue', () => {
it('should render correct contents', () => {
const Constructor = Vue.extend(Dashboard)
const Constructor = Vue.extend(Hello)
const vm = new Constructor().$mount()
expect(vm.$el.querySelector('.text-info').textContent)
.to.equal('Hello World')
expect(vm.$el.querySelector('.hello h1').textContent)
.to.equal('Welcome to Your Vue.js App')
})
})