Init
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
module.exports = {
|
||||
env: {
|
||||
jest: true,
|
||||
},
|
||||
}
|
||||
@@ -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