改成人人基础

This commit is contained in:
2021-11-15 08:22:01 +08:00
parent c951ee56f5
commit d9810b14b5
1200 changed files with 126167 additions and 90336 deletions

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')
})
})