Solana UI support #145
pull-request.yml
on: pull_request
Unit tests and linting
1m 50s
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.
|