-
Notifications
You must be signed in to change notification settings - Fork 312
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
core-js v2 not listed as dependency, but imported in setupJest.js #244
Comments
Yes this would be a great help! It was so confusing because the errors I was getting did not help to trace the problem. |
Feel free to make it a peer dep :) |
What helped me was to add |
@skorunka Yeah, it was released in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Some days ago core-js v3 was released and changed its library structure.
jest-preaet-angular
imports core-js insetupJest.ts
, without specifying the version anywhere.This leads to confusion as more projects update to v3 and the old interface is not available anymore.
I think we should specify the core-js version at least as peerDependency, so that npm can warn the developer when core-js v2 is not available.
The text was updated successfully, but these errors were encountered: