-
Notifications
You must be signed in to change notification settings - Fork 309
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
Jest 27 - Paths not being honored #938
Comments
This is because |
An example is
|
Did that change in 27? Because that worked fine with our setup previously. I'll give that a try. Thanks |
That is related to #910 which is listed as a breaking change, you can reuse the previous configuration is https://github.com/thymikee/jest-preset-angular/blob/v8.4.0/jest-preset.js |
I will update docs as well as |
🐛 Bug Report
We have a project with an Angular library, and are using tsconfig paths to help with import paths for components in the library. This worked great before the update, but is now failing with "Cannot find module" for all of the imports involving components from the library.
Snippet of our tsconfig
Error log:
envinfo
The text was updated successfully, but these errors were encountered: