Former-commit-id: d88f8229de770edd6beb1483cb0ff29bf4d609cb
This commit is contained in:
liyang
2018-10-30 19:51:49 +08:00
parent abda5cc1d2
commit e24098b148
174 changed files with 0 additions and 36239 deletions
-8
View File
@@ -1,8 +0,0 @@
module.exports = {
env: {
jest: true
},
rules: {
'import/no-extraneous-dependencies': 'off'
}
}
-14
View File
@@ -1,14 +0,0 @@
// 暂时 D2 没有单元测试代码 此文件为自动生成
import { shallowMount } from '@vue/test-utils'
import HelloWorld from '@/components/HelloWorld.vue'
describe('HelloWorld.vue', () => {
it('renders props.msg when passed', () => {
const msg = 'new message'
const wrapper = shallowMount(HelloWorld, {
propsData: { msg }
})
expect(wrapper.text()).toMatch(msg)
})
})