v1.0.10
This commit is contained in:
@@ -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')
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user