2
0
mirror of https://github.com/tenrok/vue-form-wizard.git synced 2026-06-21 07:20:32 +03:00

Add build setup from vue-cli webpack template

This commit is contained in:
cristijora
2017-04-15 23:05:30 +03:00
parent 011774fd34
commit f5a3339ac8
34 changed files with 963 additions and 31 deletions
+11
View File
@@ -0,0 +1,11 @@
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')
})
})