Chai should support the 'showDiff' error flag that mocha 1.6.0 added #101

elliotf opened this Issue Oct 7, 2012 · 4 comments


None yet

3 participants


Mocha 1.6.0 added support for string-diff of actual and expected values.

Chai should throw exceptions with this flag when appropriate.


This naive diff did not work at all, so I'm assuming I'm missing something:

Chai.js Assertion Library member

What are you test scenarios? A quick check of this and it seems to be working....

String Diff

Edit: mocha @ 1.7.2


This could have been fixed by #109

Chai.js Assertion Library member

Well a pleasant surprise! Closing.

@elliotf - If you are still having issues, please reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment