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

Closed
elliotf opened this Issue Oct 7, 2012 · 4 comments

Projects

None yet

3 participants

@elliotf

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

Chai should throw exceptions with this flag when appropriate.

@elliotf

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

https://gist.github.com/3849227

@logicalparadox
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

@domenic

This could have been fixed by #109

@logicalparadox
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