refactor: ui

This commit is contained in:
xiaojunnuo
2021-01-28 01:00:06 +08:00
parent fd130f86fd
commit 86b1e9959b
37 changed files with 17415 additions and 7 deletions
+13
View File
@@ -0,0 +1,13 @@
import { expect } from 'chai'
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, {
props: { msg }
})
expect(wrapper.text()).to.include(msg)
})
})