docs/config/chaiconfig.md
{ includeStack?, showDiff?, truncateThreshold? }{ includeStack: false, showDiff: true, truncateThreshold: 40 }Equivalent to Chai config.
booleanfalseInfluences whether stack trace is included in Assertion error message. Default of false suppresses stack trace in the error message.
booleantrueInfluences whether or not the showDiff flag should be included in the thrown AssertionErrors. false will always be false; true will be true when the assertion has requested a diff to be shown.
number40Sets length threshold for actual and expected values in assertion errors. If this threshold is exceeded, for example for large data structures, the value is replaced with something like [ Array(3) ] or { Object (prop1, prop2) }. Set it to 0 if you want to disable truncating altogether.
This config option affects truncating values in test.each titles and inside the assertion error message.