0👍
It seems extending jest.config.js
solved the error above.
"transform": {
".*\\.(vue)$": "<rootDir>/node_modules/vue-jest",
"^.+\\.js$": "<rootDir>/node_modules/babel-jest"
},
I now have a different error, but this is more Vue specific now.
Source:stackexchange.com