Skip to content
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

Integration with Mocha's diffs via err.expected and err.actual #89

Open
ELLIOTTCABLE opened this issue Jun 8, 2017 · 1 comment
Open
Labels
power-assert-v2 features and bug fixes in power-assert v2

Comments

@ELLIOTTCABLE
Copy link

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:

screen shot 2017-06-07 at 7 20 37 pm

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!)

@twada
Copy link
Member

twada commented Jun 8, 2017

@ELLIOTTCABLE Thank you for your feature request. Exactly. Now this feature is in my next milestone.

@twada twada added the power-assert-v2 features and bug fixes in power-assert v2 label Jan 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
power-assert-v2 features and bug fixes in power-assert v2
Projects
None yet
Development

No branches or pull requests

2 participants