-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
nx upgrade: failed to run unit test case (transformIgnorePatterns is not working for d3 packages ) #9226
Comments
the jest-preset-angular package upgrade is an issue!. if I downgrade this, everything works well |
@dean-g which version did you use to solve the issue for you? |
I got this error when I upgraded from |
@zoechi can you provide a reproducible repo I can take a look at? |
@barbados-clemens sorry, it's a closed source project. I'll update though if I find any clues. |
@zoechi are you using babel-jest for the project that isn't working? Came across this issue where the transformIngorePatterns "wasn't working" because babel-jest wasn't picking up a config for transforming the node_modules. so it looked like it wasn't working, but just needed a config for babel to use #9640 |
This issue has been automatically marked as stale because it hasn't had any recent activity. It will be closed in 14 days if no further activity occurs. |
I'm struggling with a similar issue, except I'm starting from scratch, no upgrade. |
This is also an issue for our project, and I can confirm that downgrading jest-present-angular to 11.0.1 has no impact. we are seeing many instances of the following error: "TypeError: import_index.Selection is not a constructor" |
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
I am trying to upgrade the packages and getting the following error while running my jest unit test case,
TypeError: import_index.Selection is not a constructor
It looks like, the following global jest.preset.js configuration is not working with the latest version on nx,
Can you please advise if anything needs to be changed on that to get my d3 packages ignored?
The same worked well with the following version 13.7.2
The text was updated successfully, but these errors were encountered: