-
-
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
Disable toJSON
in pretty-format it diff is identical.
#1728
Milestone
Comments
Fixed in 16. |
oh.. thats a sick fix. much simpler that wha i thought it would be :) |
This was referenced Nov 17, 2020
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When comparing two values using
toEqual
, quite often they can look equal and produce theNo visible difference
message even though they are completely different objects.Example:
this will produce "No visible difference". When this happens, we should run pretty-format again with
toJSON
calls disabled and then print an initial message that says we are printing the internal object structure (or something) and then diff that.See #1727
The text was updated successfully, but these errors were encountered: