jest-matcher-deep-close-to
jest-matcher-deep-close-to copied to clipboard
Show more context to where the error is
In the regular jest .toEqual(), you see the line in the JSON that is off with all the surrounding JSON lines. In this package's .toBeDeepCloseTo() you only see the line in the JSON that doesn't match - with no context of where in the JSON it appears - not even the key.
Thank you for your feedback, I'm updating this project in these days and I'll consider this
Is there any update on this? Another example of this as a pain point is if object keys dont match
I get the following logs
but if i use the native jest toEqual i get
clearly the latter is much better in terms of visibility
@maasencioh any update on this?