Skip to content

feat: Improve performance by using swr and batching requests in background #21

feat: Improve performance by using swr and batching requests in background

feat: Improve performance by using swr and batching requests in background #21

Triggered via pull request November 25, 2024 12:03
Status Failure
Total duration 48s
Artifacts

explorerkit-server-ci.yml

on: pull_request
run-test-cases
36s
run-test-cases
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
src/components/decoders/errors.spec.ts > errors > decodeProgramError > should return the decoded error: packages/explorerkit-server/src/components/decoders/errors.spec.ts#L49
AssertionError: expected { errorCode: 6001, …(1) } to deeply equal { …(4) } - Expected + Received Object { - "decodedMessage": "Slippage tolerance exceeded", "errorCode": 6001, - "kind": "SlippageToleranceExceeded", "programId": "JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4", } ❯ src/components/decoders/errors.spec.ts:49:22
src/components/decoders/instructions.spec.ts > instructions > decodeInstruction > should return the decoded instruction: packages/explorerkit-server/src/components/decoders/instructions.spec.ts#L54
AssertionError: expected { …(5) } to deeply equal { accountKeys: [], …(4) } - Expected + Received Object { "accountKeys": Array [], - "decodedData": Object { - "computeUnitPrice": 317673, - "discriminator": 3, - }, + "decodedData": null, "encodedData": "3ta97iYzVb3u", - "name": "setComputeUnitPrice", + "name": null, "programId": "ComputeBudget111111111111111111111111111111", } ❯ src/components/decoders/instructions.spec.ts:54:22
run-test-cases
Process completed with exit code 1.
run-test-cases
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/