You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is currently not possible to see the differences of an object/table directly with the chai configuration, which makes debugging tests really complicated when dealing with large objects.
How is it possible to integrate json-diff for all AssertionError, like with mocha ?
Do you intend to make this natively configurable with chai ?
The text was updated successfully, but these errors were encountered:
Chai doesn't do any diffing at current. It passes the actual and expected fields inside the AssertionError object for the reporter to do diffing. If you aren't using mocha, then whatever test runner you are using will need to support diffing by introspecting the error.actual and error.expected properties.
I'll close this issue; as its not a bug within our code. Feel free to continue the conversation though, and we can always re-open the issue if there is a need to 😄
It is currently not possible to see the differences of an object/table directly with the chai configuration, which makes debugging tests really complicated when dealing with large objects.
How is it possible to integrate json-diff for all AssertionError, like with mocha ?
Do you intend to make this natively configurable with chai ?
The text was updated successfully, but these errors were encountered: