refactor: extends the input type of zonesNormalize function #827
Annotations
5 errors
Run tests:
src/zones/__tests__/zonesNormalize.test.ts#L8
AssertionError: expected [] to strictly equal [ { from: -Infinity, to: Infinity } ]
- Expected
+ Received
- Array [
- Object {
- "from": -Infinity,
- "to": Infinity,
- },
- ]
+ Array []
❯ src/zones/__tests__/zonesNormalize.test.ts:8:20
|
Run tests:
src/zones/__tests__/zonesNormalize.test.ts#L15
AssertionError: expected [] to strictly equal [ { from: +0, to: 10 } ]
- Expected
+ Received
- Array [
- Object {
- "from": 0,
- "to": 10,
- },
- ]
+ Array []
❯ src/zones/__tests__/zonesNormalize.test.ts:15:20
|
Run tests:
src/zones/__tests__/zonesNormalize.test.ts#L127
AssertionError: expected [] to strictly equal [ { from: -Infinity, to: 1 }, …(1) ]
- Expected
+ Received
- Array [
- Object {
- "from": -Infinity,
- "to": 1,
- },
- Object {
- "from": 2,
- "to": Infinity,
- },
- ]
+ Array []
❯ src/zones/__tests__/zonesNormalize.test.ts:127:20
|
Run tests:
src/zones/__tests__/zonesNormalize.test.ts#L139
AssertionError: expected [] to strictly equal [ { from: +0, to: 1 }, …(1) ]
- Expected
+ Received
- Array [
- Object {
- "from": 0,
- "to": 1,
- },
- Object {
- "from": 2,
- "to": 10,
- },
- ]
+ Array []
❯ src/zones/__tests__/zonesNormalize.test.ts:139:20
|
Run tests
Process completed with exit code 1.
|
Loading