You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is nothing to transform in your example. Hence, a transformer should either throw an error, or do nothing and let the test fail at runtime. transform: {} makes sure that transformers are not involved and as you can see Jest reports that the test failed as expected.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.
Version
28.1.0
Steps to reproduce
https://github.com/NiekPas/jest-hangs.git
npm i
npm run test
Expected behavior
I expect Jest to output a compilation error or other indication that the test could not be run.
Actual behavior
Jest hangs indefinitely.
Additional context
I'm not sure if this is a jest bug or a ts-jest bug. Please let me know if I should move this issue and I will happily do so.
May be due to the use of ESM?
ts-jest
version is28.0.1
.Environment
The text was updated successfully, but these errors were encountered: