feat: recovery proposal flow #4706
GitHub Actions / Tests annotations (🧪 jest-coverage-report-action)
failed
Nov 18, 2023 in 0s
Test suite run failed
Failed tests: 1/1159. Failed suites: 1/161.
Details
Created failed tests' annotations. To disable them, see documentation.
● useLoadRecovery › should return the recovery state
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>
118 | // Loaded
119 | await waitFor(() => {
> 120 | expect(result.current).toStrictEqual([
| ^
121 | [
122 | {
123 | address: delayModifier.address,
at toStrictEqual (src/hooks/__tests__/useLoadRecovery.test.ts:120:30)
at runWithExpensiveErrorDiagnosticsDisabled (node_modules/@testing-library/dom/dist/config.js:47:12)
at checkCallback (node_modules/@testing-library/dom/dist/wait-for.js:127:77)
at checkRealTimersCallback (node_modules/@testing-library/dom/dist/wait-for.js:121:16)
at Timeout.task [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
Annotations
Check failure on line 45 in src/hooks/__tests__/useLoadRecovery.test.ts
github-actions / Tests annotations (🧪 jest-coverage-report-action)
useLoadRecovery > should return the recovery state
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)
Loading