Former-commit-id: f8439300b0e94fc7f983de902e518a39f4a232d0
This commit is contained in:
liyang
2019-05-07 09:24:56 +08:00
parent c20369f365
commit 46bc6ca451
167 changed files with 0 additions and 34196 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)
})
})