For the project I'm working on, I've configured karma such that diffs are shown in the reports generated by Mocha when equality assertions fail. The feature is documented here: https://github.com/litixsoft/karma-mocha-reporter#showdiff
It seems like pretty useful behavior to me, so I propose to make it the default behavior.
For the project I'm working on, I've configured karma such that diffs are shown in the reports generated by Mocha when equality assertions fail. The feature is documented here: https://github.com/litixsoft/karma-mocha-reporter#showdiff
It seems like pretty useful behavior to me, so I propose to make it the default behavior.