From 7273c57f5b35de28b77649d9160f557906a95c68 Mon Sep 17 00:00:00 2001 From: Ryan McNamara Date: Tue, 31 May 2016 15:37:29 -0700 Subject: [PATCH] Added properties to chai config block. See http://chaijs.com/guide/styles/ for more information --- chai/chai.d.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/chai/chai.d.ts b/chai/chai.d.ts index 0ebc855022..8eb0995947 100644 --- a/chai/chai.d.ts +++ b/chai/chai.d.ts @@ -378,7 +378,20 @@ declare namespace Chai { } export interface Config { + /** + * Default: false + */ includeStack: boolean; + + /** + * Default: true + */ + showDiff: boolean; + + /** + * Default: 40 + */ + truncateThreshold: number; } export class AssertionError {