Repository navigation
feat(pools): report estimated net LP returns - #400
Open
abdulrahmanj383-creator wants to merge 2 commits into
Open
abdulrahmanj383-creator wants to merge 2 commits into
abdulrahmanj383-creator wants to merge 2 commits into
Annotations
3 errors, 1 warning, and 1 notice
|
Run npm test --if-present
Process completed with exit code 1.
|
|
Run npm test --if-present:
src/__tests__/pools.test.ts#L70
AssertionError: expected [ { pool_id: 'C1', …(12) } ] to deeply equal [ { pool_id: 'C1', …(7) } ]
- Expected
+ Received
[
{
"asset_a": "XLM",
"asset_b": "USDC",
+ "estimate": true,
+ "feeAprPct": 0,
"fee_bp": 30,
+ "impermanentLossPct": null,
+ "netReturn24hPct": null,
"pool_id": "C1",
"reserve_a": 10,
"reserve_b": 20,
"spot_price": 2,
"timestamp": "2020-01-01T00:00:00.000Z",
+ "window": "24h",
},
]
❯ src/__tests__/pools.test.ts:70:30
|
|
Run npm test --if-present:
tests/openapi.test.ts#L96
AssertionError: expected '{\n "openapi": "3.0.0",\n "info": {…' to be '{\n "openapi": "3.0.0",\n "info": {…' // Object.is equality
- Expected
+ Received
@@ -446,11 +446,13 @@
"type": "string",
"format": "date-time"
},
"window": {
"type": "string",
- "enum": ["24h"]
+ "enum": [
+ "24h"
+ ]
},
"feeAprPct": {
"type": "number",
"nullable": true
},
❯ tests/openapi.test.ts:96:33
|
|
Complete job
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
|
background
wait
wait-all
cancel
parallel
Loading