-
Notifications
You must be signed in to change notification settings - Fork 64
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
Incorrect peer dependency version #122
Comments
What's your enzyme version @alanyinjs ?Try upgrading to a newer version if you are below 3.3.0. |
@ersel I am using [email protected]. I'm just using [email protected] as a temporary fix 😄 |
You should upgrade |
When I upgraded to 3.3.5 I still have the error: With the version 3.3.4 is fine. @alanyinjs |
Updating to the latest enzyme package worked for me |
#123 is merged, I need to deploy a new version |
After the last update to
enzyme-to-json
3.3.5 our tests started failing with a mixture of:TypeError: Cannot read property '$$typeof' of undefined
and also
TypeError: Cannot convert a Symbol value to a string
These problems only occur if you're using an
enzyme
version 3.3.0 or earlier, so I believe peer dependency listed inpackage.json
is no longer correct after the last update.Enzyme peer dependency version should be
^3.4.0
.The text was updated successfully, but these errors were encountered: