This commit is contained in:
2022-03-21 12:37:36 +08:00
commit 9c2631aed6
270 changed files with 41563 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
import { expect } from 'chai'
import { shallow } 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 = shallow(HelloWorld, {
propsData: { msg }
})
expect(wrapper.text()).to.include(msg)
})
})