This commit is contained in:
xidedix
2018-02-02 17:09:58 +01:00
parent e122f00746
commit 17267e43f3
35 changed files with 553 additions and 491 deletions
@@ -0,0 +1,11 @@
import Vue from 'vue'
import Dashboard from '@/views/Dashboard'
describe('Dashboard', () => {
it('should render correct contents', () => {
const Constructor = Vue.extend(Dashboard)
const vm = new Constructor().$mount()
expect(vm.$el.querySelector('.text-info').textContent)
.to.equal('Hello World')
})
})