First commit
This commit is contained in:
11
test/unit/specs/404.spec.js
Normal file
11
test/unit/specs/404.spec.js
Normal file
@ -0,0 +1,11 @@
|
||||
import Vue from 'vue'
|
||||
import c404 from '@/components/404.vue'
|
||||
|
||||
describe('404.vue', () => {
|
||||
it('should render correct contents', () => {
|
||||
const Constructor = Vue.extend(c404)
|
||||
const vm = new Constructor().$mount()
|
||||
expect(vm.$el.querySelector('h1').textContent)
|
||||
.to.equal('You are lost.')
|
||||
})
|
||||
})
|
Reference in New Issue
Block a user