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
So, Mocha provides diffs on test failures, by examining the thrown AssertionError's .expected and .actual properties. Unfortunately, these are rather redundant, with power-assert's output:
It'd be ideal if, in the context of Mocha, power-assert could only dump its graph-style output, and leave the diffing-style output to Mocha (or at least, instruct Mocha not to do redundant diffing-style output!)
The text was updated successfully, but these errors were encountered:
So, Mocha provides diffs on test failures, by examining the thrown
AssertionError
's.expected
and.actual
properties. Unfortunately, these are rather redundant, withpower-assert
's output:It'd be ideal if, in the context of Mocha,
power-assert
could only dump its graph-style output, and leave the diffing-style output to Mocha (or at least, instruct Mocha not to do redundant diffing-style output!)The text was updated successfully, but these errors were encountered: