From f78a26efdf5e7f9e5dc409dfcb67dda11fdf8e03 Mon Sep 17 00:00:00 2001 From: kazk Date: Wed, 2 Jun 2021 19:50:24 -0700 Subject: [PATCH] Disable truncation --- src/assertions.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/assertions.ts b/src/assertions.ts index 7bcbd8c..dbeaa2e 100644 --- a/src/assertions.ts +++ b/src/assertions.ts @@ -2,6 +2,9 @@ import chai from "chai"; const assert = chai.assert; +// Disable truncating actual and expected in assertion errors. +chai.config.truncateThreshold = 0; + export const pass = () => {}; export const fail = assert.fail; export const expect = assert;