Skip to content

Solana UI support

Solana UI support #148

Triggered via pull request September 18, 2024 01:00
Status Failure
Total duration 2m 15s
Artifacts

pull-request.yml

on: pull_request
Unit tests and linting
2m 4s
Unit tests and linting
Fit to window
Zoom out
Zoom in

Annotations

2 errors
src/actions/getPrices.test.ts > Should test the getPrice action. > Should allow passing in additional txs: packages/sdk/src/actions/getPrices.test.ts#L68
AssertionError: expected "wrap" to be called with arguments: [ ObjectContaining{…} ] Received: 1st wrap call: Array [ - ObjectContaining { - "data": ObjectContaining { + Object { + "data": Object { "amount": "1000000000000000", "destinationChainId": 1, "destinationCurrency": "0x0000000000000000000000000000000000000000", "originChainId": 8453, "originCurrency": "0x0000000000000000000000000000000000000000", - "recipient": "0x0000000000000000000000000000000000000000", + "recipient": "0x000000000000000000000000000000000000dead", + "referrer": undefined, "tradeType": "EXACT_INPUT", "txs": Array [ Object { "data": "0x", "to": "0x", "value": "0", }, ], "user": "0x000000000000000000000000000000000000dead", }, - "url": StringContaining "price", + "method": "post", + "url": "https://api.relay.link/price", }, ] Number of calls: 1 ❯ src/actions/getPrices.test.ts:68:29
Unit tests and linting
Process completed with exit code 1.