example.spec.js 210 B

1234567
  1. import { shallowMount } from '@vue/test-utils'
  2. import App from '@/App.vue'
  3. test('App should work', () => {
  4. const wrapper = shallowMount(App)
  5. expect(wrapper.text()).toMatch('Welcome to Your Vue.js App')
  6. })