Skip to content

Commit 3b91a3b

Browse files
authored
Merge pull request #3 from codewars/disable-truncation
Disable truncation
2 parents a9b158d + f78a26e commit 3b91a3b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/assertions.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
import chai from "chai";
33
const assert = chai.assert;
44

5+
// Disable truncating actual and expected in assertion errors.
6+
chai.config.truncateThreshold = 0;
7+
58
export const pass = () => {};
69
export const fail = assert.fail;
710
export const expect = assert;

0 commit comments

Comments
 (0)