-
Notifications
You must be signed in to change notification settings - Fork 452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ts-jest can't import jest-config if the node_modules directory isn't flattened #854
ts-jest can't import jest-config if the node_modules directory isn't flattened #854
Comments
One thing I forgot to mention, #853 didn't update changelog :) |
It looks like the |
Hmm I think you are right. It is automatically done once the package is published. Sorry for the inconvenience 👍 |
Do you know when the package will be published? It'd be great to start consuming this fix. |
Cc @kulshekhar . I don't know when but kul will take care of it :) |
I'll try to get this done over the weekend |
Thanks! |
This has been published |
Issue :
ts-jest
seems to assume that consumers are using npm or yarn, which both flatten thenode_modules
folder and allow packages to import dependencies that are not declared in theirpackage.json
. The flattenednode_modules
folder assumption doesn't hold true for other package managers like pnpm and yarn's plug-and-play feature.Expected behavior :
ts-jest
should be able to resolvejest-config
even if thenode_modules
directory doesn't have flattened dependencies.Fix
Here's the fix: #853
The text was updated successfully, but these errors were encountered: