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
I'm trying power-assert thanks to the recent addition to AVA in avajs/ava#46.
The examples show some simple values like true, foo, and look really nice, but I'm finding in reality my asserts are on much more complex objects and the output format is making it more difficult to visually parse the difference.
Example, deeply nested
This is not helpful.
Example, large object
Helpful, but not usable.
Example, JSON.stringify
Not usable, and I wasn't expecting all of the quotes to be \"-escaped because they aren't escaped in the original string.
Suggestion
Highlight the differences in objects with a package like difflet.
Or like this
The text was updated successfully, but these errors were encountered:
I'm trying
power-assert
thanks to the recent addition toAVA
in avajs/ava#46.The examples show some simple values like
true
,foo
, and look really nice, but I'm finding in reality my asserts are on much more complex objects and the output format is making it more difficult to visually parse the difference.Example, deeply nested
This is not helpful.

Example, large object
Helpful, but not usable.

Example, JSON.stringify
Not usable, and I wasn't expecting all of the quotes to be

\"
-escaped because they aren't escaped in the original string.Suggestion
Highlight the differences in objects with a package like difflet.
Or like this

The text was updated successfully, but these errors were encountered: