-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Diffing crashes app when comparing HTML Elements #2027
Comments
I created an issue in |
Seems like same issue as #1772? |
@gaearon Yes, probably! Closing. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I'm trying to compare HTML Elements in an assertion. When the assertion passes, everything is fine. But when it fails — one element does not in fact equal the other — Jest crashes.
This behavior suggests to me that the bug is somewhere in the code that diffs or stringifies the diff. However, I'm having trouble finding anything more specific to point to because I don't end up with a full stack trace, just a crashed app (after a little wait) with a little hint pointing at
pretty-format
.The text was updated successfully, but these errors were encountered: