Skip to content

fix: fix and optimise fetching the recovery state #4687

fix: fix and optimise fetching the recovery state

fix: fix and optimise fetching the recovery state #4687

Triggered via pull request November 14, 2023 17:25
Status Failure
Total duration 6m 12s
Artifacts

deploy.yml

on: pull_request
Deploy to dev/staging
6m 1s
Deploy to dev/staging
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 3 warnings
Deploy to dev/staging
Unable to create comment because issue is locked.
useLoadRecovery > should return the recovery state: src/hooks/__tests__/useLoadRecovery.test.ts#L45
Error: expect(received).toStrictEqual(expected) // deep equality - Expected - 0 + Received + 15 @@ -7,10 +7,25 @@ ], "queue": Array [ Object { "args": Object { "queueNonce": Object { + "hex": "0x01", + "type": "BigNumber", + }, + }, + "expiresAt": null, + "getBlock": [Function getBlock], + "timestamp": 69, + "validFrom": Object { + "hex": "0x010f71", + "type": "BigNumber", + }, + }, + Object { + "args": Object { + "queueNonce": Object { "hex": "0x02", "type": "BigNumber", }, }, "expiresAt": null, Ignored nodes: comments, script, style <html> <head /> <body> <div /> </body> </html> at toStrictEqual (/home/runner/work/safe-wallet-web/safe-wallet-web/src/hooks/__tests__/useLoadRecovery.test.ts:120:30) at runWithExpensiveErrorDiagnosticsDisabled (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/dom/dist/config.js:47:12) at checkCallback (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/dom/dist/wait-for.js:127:77) at checkRealTimersCallback (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/dom/dist/wait-for.js:121:16) at Timeout.task [as _onTimeout] (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jsdom/lib/jsdom/browser/Window.js:520:19) at listOnTimeout (node:internal/timers:569:17) at processTimers (node:internal/timers:512:7)
Deploy to dev/staging
The following actions uses node12 which is deprecated and will be forced to run on node16: aws-actions/configure-aws-credentials@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Deploy to dev/staging
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Deploy to dev/staging
Unexpected input(s) 'repo-token-user-login', valid inputs are ['message', 'message-path', 'message-id', 'refresh-message-position', 'repo-owner', 'repo-name', 'repo-token', 'allow-repeats', 'proxy-url', 'status', 'message-success', 'message-failure', 'message-cancelled', 'message-skipped', 'issue', 'update-only', 'preformatted', 'find', 'replace']