From 5f109328380e307a78a0b1b579e0cf4530503786 Mon Sep 17 00:00:00 2001 From: Kelvin Jin Date: Tue, 22 May 2018 13:56:06 -0700 Subject: [PATCH] fix: auto-ignore matches 'ignore' string instead of space --- index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.ts b/index.ts index 8403815..6c0d19d 100644 --- a/index.ts +++ b/index.ts @@ -165,7 +165,7 @@ export class Cnysa { * Default options for createStackTrace. */ public static STACK_TRACE_DEFAULTS: CnysaStackTraceOptions = { - ignoreTypes: / / + ignoreTypes: /ignore/ }; /** @@ -173,7 +173,7 @@ export class Cnysa { */ public static SNAPSHOT_DEFAULTS: CnysaSnapshotOptions = { width: process.stdout.columns || 80, - ignoreTypes: / /, + ignoreTypes: /ignore/, roots: [], padding: 1, format: 'default'