PR #2658 #644
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
codeql
on: dynamic
Matrix: Analyze
Annotations
3 errors and 1 warning
unused-imports/no-unused-imports-ts:
src/components/walletconnect/ConnectionForm/index.tsx#L3
'useState' is defined but never used.
|
useCompatibilityWarning > should return an error for a dangerous bridge:
src/components/walletconnect/ProposalForm/__tests__/useCompatibilityWarning.test.ts#L9
TypeError: Cannot destructure property 'message' of '((cov_2igsvcx892(...).s[17]++) , (intermediate value)(intermediate value)(intermediate value))' as it is undefined.
at message (/home/runner/work/safe-wallet-web/safe-wallet-web/src/components/walletconnect/ProposalForm/useCompatibilityWarning.ts:42:11)
at mountMemo (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:17225:19)
at Object.useMemo (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:17670:16)
at useMemo (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react/cjs/react.development.js:1650:21)
at useCompatibilityWarning (/home/runner/work/safe-wallet-web/safe-wallet-web/src/components/walletconnect/ProposalForm/useCompatibilityWarning.ts:38:17)
at /home/runner/work/safe-wallet-web/safe-wallet-web/src/components/walletconnect/ProposalForm/__tests__/useCompatibilityWarning.test.ts:17:64
at TestComponent (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/react/dist/pure.js:283:27)
at renderWithHooks (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
at mountIndeterminateComponent (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
at beginWork (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
at beginWork$1 (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
at performUnitOfWork (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
at workLoopSync (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
at renderRootSync (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
at recoverFromConcurrentError (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:25850:20)
at performConcurrentWorkOnRoot (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:25750:22)
at flushActQueue (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react/cjs/react.development.js:2667:24)
at act (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react/cjs/react.development.js:2582:11)
at /home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/react/dist/act-compat.js:63:25
at renderRoot (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/react/dist/pure.js:159:26)
at render (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/react/dist/pure.js:246:10)
at renderHook (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/react/dist/pure.js:293:7)
at customRenderHook (/home/runner/work/safe-wallet-web/safe-wallet-web/src/tests/test-utils.tsx:81:20)
at Object.<anonymous> (/home/runner/work/safe-wallet-web/safe-wallet-web/src/components/walletconnect/ProposalForm/__tests__/useCompatibilityWarning.test.ts:17:34)
at Promise.then.completed (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:316:40)
at _runTest (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-runner/build/runTest.js:444:34)
|
useCompatibilityWarning > should return a warning for a risky bridge:
src/components/walletconnect/ProposalForm/__tests__/useCompatibilityWarning.test.ts#L26
TypeError: Cannot destructure property 'message' of '((cov_2igsvcx892(...).s[17]++) , (intermediate value)(intermediate value)(intermediate value))' as it is undefined.
at message (/home/runner/work/safe-wallet-web/safe-wallet-web/src/components/walletconnect/ProposalForm/useCompatibilityWarning.ts:42:11)
at mountMemo (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:17225:19)
at Object.useMemo (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:17670:16)
at useMemo (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react/cjs/react.development.js:1650:21)
at useCompatibilityWarning (/home/runner/work/safe-wallet-web/safe-wallet-web/src/components/walletconnect/ProposalForm/useCompatibilityWarning.ts:38:17)
at /home/runner/work/safe-wallet-web/safe-wallet-web/src/components/walletconnect/ProposalForm/__tests__/useCompatibilityWarning.test.ts:35:64
at TestComponent (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/react/dist/pure.js:283:27)
at renderWithHooks (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
at mountIndeterminateComponent (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
at beginWork (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
at beginWork$1 (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
at performUnitOfWork (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
at workLoopSync (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
at renderRootSync (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
at recoverFromConcurrentError (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:25850:20)
at performConcurrentWorkOnRoot (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react-dom/cjs/react-dom.development.js:25750:22)
at flushActQueue (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react/cjs/react.development.js:2667:24)
at act (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/react/cjs/react.development.js:2582:11)
at /home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/react/dist/act-compat.js:63:25
at renderRoot (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/react/dist/pure.js:159:26)
at render (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/react/dist/pure.js:246:10)
at renderHook (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/react/dist/pure.js:293:7)
at customRenderHook (/home/runner/work/safe-wallet-web/safe-wallet-web/src/tests/test-utils.tsx:81:20)
at Object.<anonymous> (/home/runner/work/safe-wallet-web/safe-wallet-web/src/components/walletconnect/ProposalForm/__tests__/useCompatibilityWarning.test.ts:35:34)
at Promise.then.completed (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:316:40)
at _runTest (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-runner/build/runTest.js:444:34)
|
Analyze (javascript)
Failed to restore: Cache service responded with 403
|