Replies: 2 comments
-
I switched to vitest and my test started working. No changes needed—seamless migration. I can even remove my |
Beta Was this translation helpful? Give feedback.
0 replies
-
For anyone who is running into this problem in the future and doesn't want to move away from Jest, I was stuck on a similar issue for hours yesterday; my solution was to set |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm running into an issue with transforming a dependency. At first glance, it looked like this FAQ answer is exactly what I'm hitting, but applying that doesn't change anything.
I have Remix project with TypeScript, and
parse5-sax-parser
as a dependency. When I try to run a test that references the module, I get an error from jest:I've created an isolated reproduction here: https://github.com/msakrejda/jest-ts-error-repro. Note that my jest.config.js there is
which should account for this package, right?
Any ideas?
It looks like this may be related to this discussion, but that's unanswered and I'm not sure it's the same thing, so I'm starting a new one.
Beta Was this translation helpful? Give feedback.
All reactions