feat: add pick, omit, pickBy, and omitBy functions #130
Annotations
3 errors and 1 warning
tests/collection.spec.ts > pick > should pick elements by index from an array:
tests/collection.spec.ts#L373
AssertionError: expected { '0': 10, '2': 30, '4': 50 } to deeply equal [ 10, 30, 50 ]
- Expected:
Array [
10,
30,
50,
]
+ Received:
Object {
"0": 10,
"2": 30,
"4": 50,
}
❯ tests/collection.spec.ts:373:20
|
tests/collection.spec.ts > omit > should omit elements by index from an array:
tests/collection.spec.ts#L403
AssertionError: expected { '0': 10, '1': 20, '2': 30, …(2) } to deeply equal [ 10, 30, 50 ]
- Expected:
Array [
10,
30,
50,
]
+ Received:
Object {
"0": 10,
"1": 20,
"2": 30,
"3": 40,
"4": 50,
}
❯ tests/collection.spec.ts:403:20
|
test
Process completed with exit code 1.
|
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|