diff printing support
Opened this issue · 0 comments
kptdobe commented
The mocha-junit-reporter
is now extensively used in many CIs which keeps a record of the successful / failing tests. By default, mocha
outputs the diff in case of failing tests. When enabling the mocha-junit-reporter
, the diff is not recorded which makes the investigations of a failing test very tedious (you basically need to analyse or re-run the test to know what went wrong).
It would be great to enable the diff printing by default to align with mocha
default behaviour or at least to have an option to turn it on.
@charles-toller already provided a PR for it: #134