2
0
mirror of https://github.com/tenrok/vue-form-wizard.git synced 2026-05-28 01:44:03 +03:00
Files
vue-form-wizard/test/unit/specs/Hello.spec.js
T
2017-04-15 23:05:30 +03:00

12 lines
335 B
JavaScript

import Vue from 'vue'
import Hello from '@/components/Hello'
describe('Hello.vue', () => {
it('should render correct contents', () => {
const Constructor = Vue.extend(Hello)
const vm = new Constructor().$mount()
expect(vm.$el.querySelector('.hello h1').textContent)
.to.equal('Welcome to Your Vue.js App')
})
})