Open yooouuri opened 2 years ago
@yooouuri try doing a jest --clearCache
then run jest --runInBand
If that works, we may have the same issue.
@jolting
Added
preset: 'ts-jest/presets/js-with-ts-esm',
and
transformIgnorePatterns: [ "/node_modules/(?!(date-fns)/)" ]
To jest.config.js
And
"allowJs": true
To tsconfig.json.
There is no need for babel as I removed every babel dependency in my project.
Now I can test .vue files!!
I think there is still a babel bug. I'm glad you don't need it!
does anyone know how to fix this?
Any updates?
Dependencies
jest.config.js
tsconfig
Tried something like:
Didn't work...