feat : reduce implement #2619
Annotations
6 errors and 1 warning
Run yarn test:
src/array/reduce.spec.ts#L8
AssertionError: expected [ 50, 40, 20 ] to deeply equal [ 20, 40, 50 ]
- Expected
+ Received
Array [
- 20,
- 40,
50,
+ 40,
+ 20,
]
❯ src/array/reduce.spec.ts:8:21
|
Run yarn test:
src/array/reduce.spec.ts#L15
AssertionError: expected [] to deeply equal [ 50, 30 ]
- Expected
+ Received
- Array [
- 50,
- 30,
- ]
+ Array []
❯ src/array/reduce.spec.ts:15:21
|
Run yarn test:
src/array/reduce.spec.ts#L29
AssertionError: expected [] to deeply equal [ undefined, undefined ]
- Expected
+ Received
- Array [
- undefined,
- undefined,
- ]
+ Array []
❯ src/array/reduce.spec.ts:29:21
|
Run yarn test:
src/array/reduce.spec.ts#L36
AssertionError: expected [ 40, 20 ] to deeply equal [ 20, undefined, 40 ]
- Expected
+ Received
Array [
- 20,
- undefined,
40,
+ 20,
]
❯ src/array/reduce.spec.ts:36:21
|
Run yarn test:
src/array/reduce.spec.ts#L43
AssertionError: expected [] to deeply equal [ undefined, undefined ]
- Expected
+ Received
- Array [
- undefined,
- undefined,
- ]
+ Array []
❯ src/array/reduce.spec.ts:43:21
|
Run yarn test
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading