diff --git a/src/inspect/consoleInspect.ts b/src/inspect/consoleInspect.ts index def6b62..83d3d8e 100644 --- a/src/inspect/consoleInspect.ts +++ b/src/inspect/consoleInspect.ts @@ -99,6 +99,7 @@ function inspect( if (Array.isArray(value) || isIterable(value)) { return [ consoleGroup({ + expanded: options.depth > 0, header: inspection.spans, body: inspectIterableMultiLine( makeIterableDetails(value), @@ -110,6 +111,7 @@ function inspect( } else if (isPlainObject(value)) { return [ consoleGroup({ + expanded: options.depth > 0, header: inspection.spans, body: inspectObjectMultiLine( value,