0👍
THe correct structure
src
components
ContactForm.vue
store
__mocks__
index.js
index.js
tests
unit
ContactForm.spec.js
ContactForm.spec.js
import { __creareMocks as createMocks } from "@/store";
...
jest.mock("@/store");
Source:stackexchange.com