Refactor/pool dto #418
Triggered via pull request
September 30, 2024 04:26
Status
Failure
Total duration
3m 22s
Artifacts
–
Annotations
2 errors and 2 warnings
adjust-order-price.test.ts > Adjust order price:
test/adjust-order-price.test.ts#L141
AssertionError: expected 'NaN' to be { total: { …(2) }, …(3) } // Object.is equality
- Expected:
Object {
"cancelable": Object {
"currency": Object {
"address": "0x00BFD44e79FB7f6dd5887A9426c8EF85A0CD23e0",
"decimals": 6,
"name": "MockERC20",
"symbol": "MT",
},
"value": "0",
},
"claimable": Object {
"currency": Object {
"address": "0x00BFD44e79FB7f6dd5887A9426c8EF85A0CD23e0",
"decimals": 6,
"name": "MockERC20",
"symbol": "MT",
},
"value": "0",
},
"liquidity": Object {
"currency": Object {
"address": "0x00BFD44e79FB7f6dd5887A9426c8EF85A0CD23e0",
"decimals": 6,
"name": "MockERC20",
"symbol": "MT",
},
"value": "2000",
},
"total": Object {
"currency": Object {
"address": "0x00BFD44e79FB7f6dd5887A9426c8EF85A0CD23e0",
"decimals": 6,
"name": "MockERC20",
"symbol": "MT",
},
"value": "2000",
},
}
+ Received:
"NaN"
❯ adjust-order-price.test.ts:141:65
|
NPM Test (18.10)
Process completed with exit code 1.
|
Check TS (18.10)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
NPM Test (18.10)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|