Skip to content

Commit dc26247

Browse files
ovhemertBridgeAR
authored andcommitted
test: deep object to table not covered
PR-URL: #24257 Reviewed-By: Weijia Wang <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent b7aded3 commit dc26247

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

‎test/parallel/test-console-table.js‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,14 @@ test({a:{a: 1, b: 2, c: 3 } }, `
168168
└─────────┴───┴───┴───┘
169169
`);
170170

171+
test({a: {a: {a: 1,b: 2,c: 3}}},`
172+
┌─────────┬──────────┐
173+
│ (index) │ a │
174+
├─────────┼──────────┤
175+
│ a │ [Object] │
176+
└─────────┴──────────┘
177+
`);
178+
171179
test({a: [1,2]},`
172180
┌─────────┬───┬───┐
173181
│ (index) │ 0 │ 1 │

0 commit comments

Comments
(0)