Get full diff of mismatching strings #1666
Answered
by
koddsson
avin-kavish
asked this question in
Support
-
Is it possible to get a full diff of strings that don't match?
Currently, it's truncated like this. |
Beta Was this translation helpful? Give feedback.
Answered by
koddsson
Jan 22, 2025
Replies: 1 comment
-
You can set the chai.config.truncateThreshold = 0; // disable truncating |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
keithamus
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can set the
truncateThreshold
to whatever you want. Setting it to0
disables truncating.https://www.chaijs.com/guide/styles/#configuration