You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mocha supports a reporter option maxDiffSize that configures a threshold beyond which actual and expected strings are trimmed in the report (see Mocha documentation).
When mocha-junit-reporter is used, maxDiffSize is ignored and the report reverts to the default value of 8192.
After some investigation I was able to determine that the reason was that mocha-junit-reporter is assuming that all reporter options are intended for itself, and is not forwarding options to the base reporter implementation. That causes maxDiffSize to be ignored.
I'll submit a fix soon.
The text was updated successfully, but these errors were encountered:
Mocha supports a reporter option
maxDiffSize
that configures a threshold beyond which actual and expected strings are trimmed in the report (see Mocha documentation).When mocha-junit-reporter is used,
maxDiffSize
is ignored and the report reverts to the default value of8192
.After some investigation I was able to determine that the reason was that mocha-junit-reporter is assuming that all reporter options are intended for itself, and is not forwarding options to the base reporter implementation. That causes
maxDiffSize
to be ignored.I'll submit a fix soon.
The text was updated successfully, but these errors were encountered: