From 36a8cba524d65d93316f81f02a1d7de93e35c8a7 Mon Sep 17 00:00:00 2001 From: ZaneHannanAU Date: Sat, 23 Jun 2018 10:06:59 +1000 Subject: [PATCH] [@types/node] Add tests for extended InspectOptions --- types/node/node-tests.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/types/node/node-tests.ts b/types/node/node-tests.ts index 8a7f4b8d89..e5887b17c4 100644 --- a/types/node/node-tests.ts +++ b/types/node/node-tests.ts @@ -756,7 +756,8 @@ namespace util_tests { customInspect: false, showProxy: true, maxArrayLength: 10, - breakLength: 20 + breakLength: 20, + compact: true }); util.inspect(["This is nice"], { colors: true, @@ -764,7 +765,8 @@ namespace util_tests { customInspect: false, showProxy: true, maxArrayLength: null, - breakLength: Infinity + breakLength: Infinity, + compact: false }); assert(typeof util.inspect.custom === 'symbol');