Closed jairoblatt closed 2 years ago
Reminds me of #408
Thanks,
I just remove the vue3-jest
of my packages and added @vue/vue3-jest
And update the vue transform in jest.config.js
to @vue/vue3-jest
module.exports = {
...
transform: {
'^.+\\.ts$': 'ts-jest',
'.*\\.(vue)$': '@vue/vue3-jest',
},
...
};
It's working to me now.
Hi there, i tried run an unit test in my btn.vue component but Jest catch this error.
I couldn't find anywhere about this error, so, sorry if this is the wrong place.
My current settings:
package.json
jest.config.js
btn.unit.spec.ts
btn.vue