feat: add traverse
function
#161
Annotations
12 errors
Validate
Process completed with exit code 1.
|
tests/object/traverse.test.ts > traverse > traverse non-enumerable properties when ownKeys is customized:
src/object/traverse.ts#L198
TypeError: Cannot read properties of undefined (reading 'has')
❯ Module.traverse src/object/traverse.ts:198:30
❯ tests/object/traverse.test.ts:76:7
|
tests/object/traverse.test.ts > traverse > call traverse from within a visitor:
tests/object/traverse.test.ts#L286
AssertionError: expected [ [ [ 'a' ], 1 ], …(2) ] to deeply equal [ [ [ 'a' ], 1 ], …(2) ]
- Expected
+ Received
Array [
Array [
Array [
"a",
],
1,
],
Array [
Array [
"b",
],
Map {
"c" => 2,
},
],
Array [
Array [
- "b",
"c",
],
2,
],
]
❯ tests/object/traverse.test.ts:286:21
|
Test (20.x)
Process completed with exit code 1.
|
Test (18.x)
The job was canceled because "_20_x" failed.
|
tests/object/traverse.test.ts > traverse > traverse non-enumerable properties when ownKeys is customized:
src/object/traverse.ts#L198
TypeError: Cannot read properties of undefined (reading 'has')
❯ Module.traverse src/object/traverse.ts:198:30
❯ tests/object/traverse.test.ts:76:7
|
tests/object/traverse.test.ts > traverse > call traverse from within a visitor:
tests/object/traverse.test.ts#L286
AssertionError: expected [ [ [ 'a' ], 1 ], …(2) ] to deeply equal [ [ [ 'a' ], 1 ], …(2) ]
- Expected
+ Received
Array [
Array [
Array [
"a",
],
1,
],
Array [
Array [
"b",
],
Map {
"c" => 2,
},
],
Array [
Array [
- "b",
"c",
],
2,
],
]
❯ tests/object/traverse.test.ts:286:21
|
Test (18.x)
Process completed with exit code 1.
|
Test (22.x)
The job was canceled because "_20_x" failed.
|
tests/object/traverse.test.ts > traverse > traverse non-enumerable properties when ownKeys is customized:
src/object/traverse.ts#L198
TypeError: Cannot read properties of undefined (reading 'has')
❯ Module.traverse src/object/traverse.ts:198:30
❯ tests/object/traverse.test.ts:76:7
|
tests/object/traverse.test.ts > traverse > call traverse from within a visitor:
tests/object/traverse.test.ts#L286
AssertionError: expected [ [ [ 'a' ], 1 ], …(2) ] to deeply equal [ [ [ 'a' ], 1 ], …(2) ]
- Expected
+ Received
Array [
Array [
Array [
"a",
],
1,
],
Array [
Array [
"b",
],
Map {
"c" => 2,
},
],
Array [
Array [
- "b",
"c",
],
2,
],
]
❯ tests/object/traverse.test.ts:286:21
|
Test (22.x)
Process completed with exit code 1.
|