test: console.table when null
in data
PR-URL: https://github.com/nodejs/node/pull/22974 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: John-David Dalton <john.david.dalton@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
This commit is contained in:
parent
0f841208d2
commit
ccbedd55a6
@ -54,6 +54,15 @@ test([Symbol(), 5, [10]], `
|
||||
└─────────┴────┴──────────┘
|
||||
`);
|
||||
|
||||
test([null, 5], `
|
||||
┌─────────┬────────┐
|
||||
│ (index) │ Values │
|
||||
├─────────┼────────┤
|
||||
│ 0 │ null │
|
||||
│ 1 │ 5 │
|
||||
└─────────┴────────┘
|
||||
`);
|
||||
|
||||
test([undefined, 5], `
|
||||
┌─────────┬───────────┐
|
||||
│ (index) │ Values │
|
||||
|
Loading…
x
Reference in New Issue
Block a user