first commit

This commit is contained in:
Edik committed 2020-04-21 13:29:13 +08:00
commit 767cf46baa
118 files changed
+20253

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
import Vue from 'vue'
import HelloWorld from '@/components/HelloWorld'
describe('HelloWorld.vue', () => {
it('should render correct contents', () => {
const Constructor = Vue.extend(HelloWorld)
const vm = new Constructor().$mount()
expect(vm.$el.querySelector('.hello h1').textContent)
.toEqual('Welcome to Your Vue.js App')
})
})