Init
This commit is contained in:
7
tests/unit/example.spec.js
Normal file
7
tests/unit/example.spec.js
Normal file
@@ -0,0 +1,7 @@
|
||||
import { shallowMount } from '@vue/test-utils'
|
||||
import App from '@/App.vue'
|
||||
|
||||
test('App should work', () => {
|
||||
const wrapper = shallowMount(App)
|
||||
expect(wrapper.text()).toMatch('Welcome to Your Vue.js App')
|
||||
})
|
||||
Reference in New Issue
Block a user