0👍
Your FooBar import
method isn’t correct so it won’t correctly mount, try this.
import {mount} from '@vue/test-utils';
// use some minimal vue component
import FooBar from 'foo-bar.vue';
const wrapper = mount(FooBar);
- [Vuejs]-Post request Status Code: 405 Method Not Allowed
- [Vuejs]-I have a route component, why are my props not automatically updating when I set them in the route definition?
Source:stackexchange.com