PR #2534 #829
codeql
on: dynamic
Matrix: Analyze
Annotations
1 error and 1 warning
WalletLogin > should not invoke the callback if connection fails:
src/components/welcome/WelcomeLogin/__tests__/WalletLogin.test.tsx#L72
TypeError: Cannot read properties of undefined (reading 'label')
at label (/home/runner/work/safe-wallet-web/safe-wallet-web/src/components/welcome/WelcomeLogin/WalletLogin.tsx:26:75)
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 customRender (/home/runner/work/safe-wallet-web/safe-wallet-web/src/tests/test-utils.tsx:69:16)
at Object.<anonymous> (/home/runner/work/safe-wallet-web/safe-wallet-web/src/components/welcome/WelcomeLogin/__tests__/WalletLogin.test.tsx:76:26)
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
|