We do not want to auto-open the QR code scanner in the extension, or allow that setting.
Refactor to implement.
Differential D15410
[Cashtab] Do not auto-open the QR code scanner in the extension bytesofman on Feb 8 2024, 15:14. Authored by
Details
We do not want to auto-open the QR code scanner in the extension, or allow that setting. Refactor to implement. npm run extension, the setting in the extension is not visible, the QR code scanner does not auto-update from Send or SendToken screens It still will for small width devices (can test on desktop).
Diff Detail
Event TimelineComment Actions Build Bitcoin ABC Diffs / Diff Testing (cashtab-tests) failed.
Failed tests logs: ====== CashTab Unit Tests: <SendXec /> rendered with params in URL Legacy params. Address and value keys are set and valid. ====== TypeError: Cannot read properties of undefined (reading 'includes') at includes (/work/cashtab/src/components/Send/SendXec.js:161:59) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:86:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> rendered with params in URL Legacy params. Address and value keys are set and valid. Unsupported legacy params are ignored. ====== TypeError: Cannot read properties of undefined (reading 'includes') at includes (/work/cashtab/src/components/Send/SendXec.js:161:59) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:135:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> rendered with params in URL Legacy params. Address field is populated + disabled while value field is empty + enabled if legacy url params have address defined and value present as undefined ====== TypeError: Cannot read properties of undefined (reading 'includes') at includes (/work/cashtab/src/components/Send/SendXec.js:161:59) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:184:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> rendered with params in URL Legacy params. Address field is populated + disabled while value field is empty + enabled if legacy url params have address defined and no value key present ====== TypeError: Cannot read properties of undefined (reading 'includes') at includes (/work/cashtab/src/components/Send/SendXec.js:161:59) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:233:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> rendered with params in URL Legacy params. Params are ignored if only value param is present ====== TypeError: Cannot read properties of undefined (reading 'includes') at includes (/work/cashtab/src/components/Send/SendXec.js:161:59) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:280:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> rendered with params in URL Legacy params. Params are ignored if param is duplicated ====== TypeError: Cannot read properties of undefined (reading 'includes') at includes (/work/cashtab/src/components/Send/SendXec.js:161:59) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:329:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> rendered with params in URL Legacy params are not parsed as bip21 even if the bip21 param appears in the string ====== TypeError: Cannot read properties of undefined (reading 'includes') at includes (/work/cashtab/src/components/Send/SendXec.js:161:59) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:378:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> rendered with params in URL bip21 param - valid bip21 param with amount and op_return_raw is parsed as expected ====== TypeError: Cannot read properties of undefined (reading 'includes') at includes (/work/cashtab/src/components/Send/SendXec.js:161:59) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:431:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> rendered with params in URL bip21 param - an invalid bip21 param shows validation errors but cannot be changed ====== TypeError: Cannot read properties of undefined (reading 'includes') at includes (/work/cashtab/src/components/Send/SendXec.js:161:59) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:508:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> rendered with params in URL No params. Send screen loads normally with no rendered input. ====== TypeError: Cannot read properties of undefined (reading 'includes') at includes (/work/cashtab/src/components/Send/SendXec.js:161:59) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:578:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) Each failure log is accessible here: Comment Actions Build Bitcoin ABC Diffs / Diff Testing (cashtab-tests) failed.
Failed tests logs: ====== CashTab Unit Tests: <SendXec /> rendered with params in URL Legacy params. Address and value keys are set and valid. ====== TypeError: Cannot read properties of undefined (reading 'mobile') at mobile (/work/cashtab/src/components/Send/SendXec.js:185:33) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:86:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> rendered with params in URL Legacy params. Address and value keys are set and valid. Unsupported legacy params are ignored. ====== TypeError: Cannot read properties of undefined (reading 'mobile') at mobile (/work/cashtab/src/components/Send/SendXec.js:185:33) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:135:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> rendered with params in URL Legacy params. Address field is populated + disabled while value field is empty + enabled if legacy url params have address defined and value present as undefined ====== TypeError: Cannot read properties of undefined (reading 'mobile') at mobile (/work/cashtab/src/components/Send/SendXec.js:185:33) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:184:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> rendered with params in URL Legacy params. Address field is populated + disabled while value field is empty + enabled if legacy url params have address defined and no value key present ====== TypeError: Cannot read properties of undefined (reading 'mobile') at mobile (/work/cashtab/src/components/Send/SendXec.js:185:33) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:233:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> rendered with params in URL Legacy params. Params are ignored if only value param is present ====== TypeError: Cannot read properties of undefined (reading 'mobile') at mobile (/work/cashtab/src/components/Send/SendXec.js:185:33) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:280:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> rendered with params in URL Legacy params. Params are ignored if param is duplicated ====== TypeError: Cannot read properties of undefined (reading 'mobile') at mobile (/work/cashtab/src/components/Send/SendXec.js:185:33) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:329:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> rendered with params in URL Legacy params are not parsed as bip21 even if the bip21 param appears in the string ====== TypeError: Cannot read properties of undefined (reading 'mobile') at mobile (/work/cashtab/src/components/Send/SendXec.js:185:33) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:378:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> rendered with params in URL bip21 param - valid bip21 param with amount and op_return_raw is parsed as expected ====== TypeError: Cannot read properties of undefined (reading 'mobile') at mobile (/work/cashtab/src/components/Send/SendXec.js:185:33) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:431:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> rendered with params in URL bip21 param - an invalid bip21 param shows validation errors but cannot be changed ====== TypeError: Cannot read properties of undefined (reading 'mobile') at mobile (/work/cashtab/src/components/Send/SendXec.js:185:33) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:508:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> rendered with params in URL No params. Send screen loads normally with no rendered input. ====== TypeError: Cannot read properties of undefined (reading 'mobile') at mobile (/work/cashtab/src/components/Send/SendXec.js:185:33) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:578:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendToken /> Renders the SendToken screen with send address input ====== TypeError: Cannot read properties of undefined (reading 'mobile') at mobile (/work/cashtab/src/components/Send/SendToken.js:124:33) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendToken.test.js:73:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendToken /> Accepts a valid ecash: prefixed address ====== TypeError: Cannot read properties of undefined (reading 'mobile') at mobile (/work/cashtab/src/components/Send/SendToken.js:124:33) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendToken.test.js:92:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendToken /> Accepts a valid etoken: prefixed address ====== TypeError: Cannot read properties of undefined (reading 'mobile') at mobile (/work/cashtab/src/components/Send/SendToken.js:124:33) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendToken.test.js:112:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendToken /> Accepts a valid alias ====== TypeError: Cannot read properties of undefined (reading 'mobile') at mobile (/work/cashtab/src/components/Send/SendToken.js:124:33) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendToken.test.js:133:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendToken /> Displays a validation error for an invalid address ====== TypeError: Cannot read properties of undefined (reading 'mobile') at mobile (/work/cashtab/src/components/Send/SendToken.js:124:33) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendToken.test.js:182:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendToken /> Displays a validation error for an alias without .xec suffix ====== TypeError: Cannot read properties of undefined (reading 'mobile') at mobile (/work/cashtab/src/components/Send/SendToken.js:124:33) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendToken.test.js:203:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendToken /> Displays a validation error for valid alias that has not yet been registered ====== TypeError: Cannot read properties of undefined (reading 'mobile') at mobile (/work/cashtab/src/components/Send/SendToken.js:124:33) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendToken.test.js:226:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendToken /> Displays expected error if alias server gives a bad response ====== TypeError: Cannot read properties of undefined (reading 'mobile') at mobile (/work/cashtab/src/components/Send/SendToken.js:124:33) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendToken.test.js:267:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendToken /> Displays a validation error if the user includes any query string ====== TypeError: Cannot read properties of undefined (reading 'mobile') at mobile (/work/cashtab/src/components/Send/SendToken.js:124:33) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendToken.test.js:301:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendToken /> Renders the send token notification upon successful broadcast ====== TypeError: Cannot read properties of undefined (reading 'mobile') at mobile (/work/cashtab/src/components/Send/SendToken.js:124:33) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendToken.test.js:339:15) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> Renders the SendXec screen with send address input ====== TypeError: Cannot read properties of undefined (reading 'mobile') at mobile (/work/cashtab/src/components/Send/SendXec.js:185:33) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:73:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> Pass valid address to Send To field ====== TypeError: Cannot read properties of undefined (reading 'mobile') at mobile (/work/cashtab/src/components/Send/SendXec.js:185:33) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:108:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> Pass valid alias to Send To field ====== TypeError: Cannot read properties of undefined (reading 'mobile') at mobile (/work/cashtab/src/components/Send/SendXec.js:185:33) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:145:43) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> Pass an invalid address to Send To field and get a validation error ====== TypeError: Cannot read properties of undefined (reading 'mobile') at mobile (/work/cashtab/src/components/Send/SendXec.js:185:33) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:210:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> Pass a possibly valid alias without .xec suffix to Send To field and get expected error ====== TypeError: Cannot read properties of undefined (reading 'mobile') at mobile (/work/cashtab/src/components/Send/SendXec.js:185:33) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:247:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> Pass a valid alias to Send To field that has not yet been registered and get expected error ====== TypeError: Cannot read properties of undefined (reading 'mobile') at mobile (/work/cashtab/src/components/Send/SendXec.js:185:33) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:286:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> Get expected error msg and send disabled if bad response from alias server ====== TypeError: Cannot read properties of undefined (reading 'mobile') at mobile (/work/cashtab/src/components/Send/SendXec.js:185:33) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:343:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> Pass a valid address and bip21 query string with valid amount param to Send To field ====== TypeError: Cannot read properties of undefined (reading 'mobile') at mobile (/work/cashtab/src/components/Send/SendXec.js:185:33) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:393:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> Pass a valid alias and bip21 query string with valid amount param to Send To field ====== TypeError: Cannot read properties of undefined (reading 'mobile') at mobile (/work/cashtab/src/components/Send/SendXec.js:185:33) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:430:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> Pass a valid address and bip21 query string with invalid amount param (dust) to Send To field ====== TypeError: Cannot read properties of undefined (reading 'mobile') at mobile (/work/cashtab/src/components/Send/SendXec.js:185:33) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:496:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> Valid address with valid bip21 query string with valid amount param rejected if amount exceeds wallet balance ====== TypeError: Cannot read properties of undefined (reading 'mobile') at mobile (/work/cashtab/src/components/Send/SendXec.js:185:33) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:536:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> Pass a valid alias and bip21 query string with invalid amount param (too many decimals) to Send To field ====== TypeError: Cannot read properties of undefined (reading 'mobile') at mobile (/work/cashtab/src/components/Send/SendXec.js:185:33) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:576:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> Pass a valid address and an invalid bip21 query string ====== TypeError: Cannot read properties of undefined (reading 'mobile') at mobile (/work/cashtab/src/components/Send/SendXec.js:185:33) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:646:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> Pass a valid address and bip21 query string with op_return_raw param to Send To field ====== TypeError: Cannot read properties of undefined (reading 'mobile') at mobile (/work/cashtab/src/components/Send/SendXec.js:185:33) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:690:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> Pass a valid address and bip21 query string with valid amount and op_return_raw params to Send To field ====== TypeError: Cannot read properties of undefined (reading 'mobile') at mobile (/work/cashtab/src/components/Send/SendXec.js:185:33) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:741:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> Pass a valid address and bip21 query string with valid amount and invalid op_return_raw params to Send To field ====== TypeError: Cannot read properties of undefined (reading 'mobile') at mobile (/work/cashtab/src/components/Send/SendXec.js:185:33) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:792:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> Clicking "Send" will send a valid tx with op_return_raw after entry of a valid address and bip21 query string with valid amount and op_return_raw params to Send To field ====== TypeError: Cannot read properties of undefined (reading 'mobile') at mobile (/work/cashtab/src/components/Send/SendXec.js:185:33) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:862:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:96:5) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <App /> Navigation menu routes to expected components ====== TypeError: Cannot read properties of undefined (reading 'mobile') at mobile (/work/cashtab/src/components/Send/SendXec.js:185:33) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performSyncWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26096:20) at flushSyncCallbacks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:12042:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at Object.eventWrapper (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:107:28) at Object.wrapEvent (/work/cashtab/node_modules/@testing-library/user-event/dist/cjs/event/wrapEvent.js:6:28) at Object.dispatchEvent (/work/cashtab/node_modules/@testing-library/user-event/dist/cjs/event/dispatchEvent.js:45:22) at Object.dispatchUIEvent (/work/cashtab/node_modules/@testing-library/user-event/dist/cjs/event/dispatchEvent.js:22:26) at Mouse.up (/work/cashtab/node_modules/@testing-library/user-event/dist/cjs/system/pointer/mouse.js:100:30) at PointerHost.release (/work/cashtab/node_modules/@testing-library/user-event/dist/cjs/system/pointer/index.js:84:28) at pointerAction (/work/cashtab/node_modules/@testing-library/user-event/dist/cjs/pointer/index.js:59:47) at Object.pointer (/work/cashtab/node_modules/@testing-library/user-event/dist/cjs/pointer/index.js:32:9) at Object.asyncWrapper (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:88:22) at Object.<anonymous> (/work/cashtab/src/components/__tests__/App.test.js:89:9) ====== CashTab Unit Tests: <App /> Renders the App screen showing normal wallet info for a created wallet ====== TypeError: Cannot read properties of undefined (reading 'mobile') at mobile (/work/cashtab/src/components/Send/SendXec.js:185:33) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/__tests__/App.test.js:151:15) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <App /> Renders the onboarding screen if the user has no wallet ====== TypeError: Cannot read properties of undefined (reading 'mobile') at mobile (/work/cashtab/src/components/Send/SendXec.js:185:33) at renderWithHooks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:16305:18) at mountIndeterminateComponent (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:20074:13) at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21587:16) at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14) at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12) at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5) at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7) at recoverFromConcurrentError (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25750:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/__tests__/App.test.js:165:15) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) Each failure log is accessible here: Comment Actions Build Bitcoin ABC Diffs / Diff Testing (cashtab-tests) failed.
Failed tests logs: ====== CashTab Unit Tests: <App /> We do see the camera auto-open setting in the config screen on a mobile device ====== Error: Unable to find an element with the text: Auto-open camera. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div class="ant-notification ant-notification-topRight css-dev-only-do-not-override-1rqnfsa ant-notification-stack ant-notification-stack-expanded" style="right: 0px; top: 24px;" > <div class="ant-notification-notice-wrapper" style="transform: translate3d(0, 0, 0);" > <div class="ant-notification-notice ant-notification-notice-success ant-notification-notice-closable" > <div class="ant-notification-notice-content" > <div class="ant-notification-notice-with-icon" role="alert" > <span aria-label="check-circle" class="anticon anticon-check-circle ant-notification-notice-icon ant-notification-notice-icon-success" role="img" > <svg aria-hidden="true" data-icon="check-circle" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z" /> </svg> </span> <div class="ant-notification-notice-message" > Success </div> <div class="ant-notification-notice-description" > ecash:qphlhe78677sz227k83hrh542qeehh8el5lcjwk72y added to Contact List </div> </div> </div> <a class="ant-notification-notice-close" tabindex="0" > <span class="ant-notification-notice-close-x" > <span aria-label="close" class="anticon anticon-close ant-notification-notice-close-icon" role="img" > <svg aria-hidden="true" data-icon="close" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z" /> </svg> </span> </span> </a> </div> </div> </div> <div> <div class="ant-spin-nested-loading css-dev-only-do-not-override-1rqnfsa" > <div class="ant-spin-container" > <div class="sc-LKuAh jSXNAo" > <div class="sc-kZmsYB eHkWzo" > <div class="sc-RcBXQ gMCskf" > <div class="sc-hzNEM iiFjIO" > <div class="sc-iSDuPN ccpgHi" > <img alt="cashtab" class="sc-fZwumE bcurWd" src="test-file-stub" /> <div class="sc-etwtAo fHyTnr" > Settings <svg height="33px" width="30px" /> </div> </div> <div class="sc-elJkPf geNavj" data-testid="wallet-info-ctn" > <div class="sc-dEoRIm iVOOxs" > <div class="sc-jtggT dNidya" > [Burned] useWallet Mock </div> <a href="/configure" > <svg class="sc-jTzLTM bTdWCF" /> </a> <div> <button aria-checked="true" class="ant-switch ant-switch-small css-dev-... at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/__tests__/AppIntegrations.test.js:428:29) at runNextTicks (node:internal/process/task_queues:61:5) at listOnTimeout (node:internal/timers:528:9) at processTimers (node:internal/timers:502:7) Each failure log is accessible here: Comment Actions Build Bitcoin ABC Diffs / Diff Testing (cashtab-tests) failed.
Failed tests logs: ====== CashTab Unit Tests: <App /> Navigation menu routes to expected components ====== TypeError: Cannot read properties of undefined (reading 'getUserMedia') at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:1120:49) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.getUserMedia (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:1176:16) at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:658:31) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.decodeFromConstraints (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:672:16) at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:790:23) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.decodeFromVideoDevice (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:817:16) at decodeFromVideoDevice (/work/cashtab/src/components/Common/ScanQRCode.js:45:43) at scanForQrCode (/work/cashtab/src/components/Common/ScanQRCode.js:115:13) at commitHookEffectListMount (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:23150:26) at commitPassiveMountOnFiber (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24931:11) at commitPassiveMountEffects_complete (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24891:9) at commitPassiveMountEffects_begin (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24878:7) at commitPassiveMountEffects (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24866:3) at flushPassiveEffectsImpl (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27039:3) at flushPassiveEffects (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26984:14) at commitRootImpl (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26935:5) at commitRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26682:5) at performSyncWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26117:3) at flushSyncCallbacks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:12042:22) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at Object.eventWrapper (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:107:28) at Object.wrapEvent (/work/cashtab/node_modules/@testing-library/user-event/dist/cjs/event/wrapEvent.js:6:28) at Object.dispatchEvent (/work/cashtab/node_modules/@testing-library/user-event/dist/cjs/event/dispatchEvent.js:45:22) at Object.dispatchUIEvent (/work/cashtab/node_modules/@testing-library/user-event/dist/cjs/event/dispatchEvent.js:22:26) at Mouse.up (/work/cashtab/node_modules/@testing-library/user-event/dist/cjs/system/pointer/mouse.js:100:30) at PointerHost.release (/work/cashtab/node_modules/@testing-library/user-event/dist/cjs/system/pointer/index.js:84:28) at pointerAction (/work/cashtab/node_modules/@testing-library/user-event/dist/cjs/pointer/index.js:59:47) at Object.pointer (/work/cashtab/node_modules/@testing-library/user-event/dist/cjs/pointer/index.js:32:9) at Object.asyncWrapper (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:88:22) at Object.<anonymous> (/work/cashtab/src/components/__tests__/App.test.js:89:9) ====== CashTab Unit Tests: <SendToken /> Accepts a valid ecash: prefixed address ====== Error: expect(element).toHaveValue(ecash:qp89xgjhcqdnzzemts0aj378nfe2mhu9yvxj9nhgg6) Expected the element to have value: ecash:qp89xgjhcqdnzzemts0aj378nfe2mhu9yvxj9nhgg6 Received: e at Object.toHaveValue (/work/cashtab/src/components/Send/__tests__/SendToken.test.js:107:32) ====== CashTab Unit Tests: <SendToken /> Accepts a valid etoken: prefixed address ====== TypeError: Cannot read properties of undefined (reading 'getUserMedia') at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:1120:49) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.getUserMedia (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:1176:16) at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:658:31) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.decodeFromConstraints (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:672:16) at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:790:23) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.decodeFromVideoDevice (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:817:16) at decodeFromVideoDevice (/work/cashtab/src/components/Common/ScanQRCode.js:45:43) at scanForQrCode (/work/cashtab/src/components/Common/ScanQRCode.js:115:13) at commitHookEffectListMount (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:23150:26) at commitPassiveMountOnFiber (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24931:11) at commitPassiveMountEffects_complete (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24891:9) at commitPassiveMountEffects_begin (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24878:7) at commitPassiveMountEffects (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24866:3) at flushPassiveEffectsImpl (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27039:3) at flushPassiveEffects (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26984:14) at performSyncWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26076:3) at flushSyncCallbacks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:12042:22) at commitRootImpl (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26959:3) at commitRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26682:5) at finishConcurrentRender (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25981:9) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25809:7) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendToken.test.js:116:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendToken /> Accepts a valid alias ====== Error: expect(element).toHaveValue(twelvechar12.xec) Expected the element to have value: twelvechar12.xec Received: twe at Object.toHaveValue (/work/cashtab/src/components/Send/__tests__/SendToken.test.js:167:32) ====== CashTab Unit Tests: <SendToken /> Displays a validation error for an invalid address ====== TypeError: Cannot read properties of undefined (reading 'getUserMedia') at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:1120:49) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.getUserMedia (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:1176:16) at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:658:31) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.decodeFromConstraints (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:672:16) at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:790:23) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.decodeFromVideoDevice (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:817:16) at decodeFromVideoDevice (/work/cashtab/src/components/Common/ScanQRCode.js:45:43) at scanForQrCode (/work/cashtab/src/components/Common/ScanQRCode.js:115:13) at commitHookEffectListMount (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:23150:26) at commitPassiveMountOnFiber (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24931:11) at commitPassiveMountEffects_complete (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24891:9) at commitPassiveMountEffects_begin (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24878:7) at commitPassiveMountEffects (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24866:3) at flushPassiveEffectsImpl (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27039:3) at flushPassiveEffects (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26984:14) at performSyncWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26076:3) at flushSyncCallbacks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:12042:22) at commitRootImpl (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26959:3) at commitRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26682:5) at finishConcurrentRender (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25981:9) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25809:7) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendToken.test.js:186:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendToken /> Displays a validation error for an alias without .xec suffix ====== Error: expect(element).toHaveValue(chicken) Expected the element to have value: chicken Received: ch at Object.toHaveValue (/work/cashtab/src/components/Send/__tests__/SendToken.test.js:218:32) ====== CashTab Unit Tests: <SendToken /> Displays a validation error for valid alias that has not yet been registered ====== TypeError: Cannot read properties of undefined (reading 'getUserMedia') at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:1120:49) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.getUserMedia (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:1176:16) at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:658:31) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.decodeFromConstraints (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:672:16) at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:790:23) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.decodeFromVideoDevice (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:817:16) at decodeFromVideoDevice (/work/cashtab/src/components/Common/ScanQRCode.js:45:43) at scanForQrCode (/work/cashtab/src/components/Common/ScanQRCode.js:115:13) at commitHookEffectListMount (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:23150:26) at commitPassiveMountOnFiber (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24931:11) at commitPassiveMountEffects_complete (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24891:9) at commitPassiveMountEffects_begin (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24878:7) at commitPassiveMountEffects (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24866:3) at flushPassiveEffectsImpl (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27039:3) at flushPassiveEffects (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26984:14) at performSyncWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26076:3) at flushSyncCallbacks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:12042:22) at commitRootImpl (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26959:3) at commitRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26682:5) at finishConcurrentRender (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25981:9) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25809:7) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendToken.test.js:230:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendToken /> Displays expected error if alias server gives a bad response ====== TypeError: Cannot read properties of undefined (reading 'getUserMedia') at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:1120:49) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.getUserMedia (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:1176:16) at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:658:31) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.decodeFromConstraints (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:672:16) at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:790:23) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.decodeFromVideoDevice (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:817:16) at decodeFromVideoDevice (/work/cashtab/src/components/Common/ScanQRCode.js:45:43) at scanForQrCode (/work/cashtab/src/components/Common/ScanQRCode.js:115:13) at commitHookEffectListMount (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:23150:26) at commitPassiveMountOnFiber (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24931:11) at commitPassiveMountEffects_complete (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24891:9) at commitPassiveMountEffects_begin (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24878:7) at commitPassiveMountEffects (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24866:3) at flushPassiveEffectsImpl (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27039:3) at flushPassiveEffects (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26984:14) at performSyncWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26076:3) at flushSyncCallbacks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:12042:22) at commitRootImpl (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26959:3) at commitRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26682:5) at finishConcurrentRender (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25981:9) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25809:7) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendToken.test.js:271:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendToken /> Displays a validation error if the user includes any query string ====== TypeError: Cannot read properties of undefined (reading 'getUserMedia') at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:1120:49) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.getUserMedia (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:1176:16) at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:658:31) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.decodeFromConstraints (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:672:16) at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:790:23) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.decodeFromVideoDevice (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:817:16) at decodeFromVideoDevice (/work/cashtab/src/components/Common/ScanQRCode.js:45:43) at scanForQrCode (/work/cashtab/src/components/Common/ScanQRCode.js:115:13) at commitHookEffectListMount (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:23150:26) at commitPassiveMountOnFiber (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24931:11) at commitPassiveMountEffects_complete (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24891:9) at commitPassiveMountEffects_begin (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24878:7) at commitPassiveMountEffects (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24866:3) at flushPassiveEffectsImpl (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27039:3) at flushPassiveEffects (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26984:14) at performSyncWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26076:3) at flushSyncCallbacks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:12042:22) at commitRootImpl (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26959:3) at commitRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26682:5) at finishConcurrentRender (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25981:9) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25809:7) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendToken.test.js:305:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendToken /> Renders the send token notification upon successful broadcast ====== TypeError: Cannot read properties of undefined (reading 'getUserMedia') at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:1120:49) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.getUserMedia (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:1176:16) at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:658:31) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.decodeFromConstraints (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:672:16) at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:790:23) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.decodeFromVideoDevice (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:817:16) at decodeFromVideoDevice (/work/cashtab/src/components/Common/ScanQRCode.js:45:43) at scanForQrCode (/work/cashtab/src/components/Common/ScanQRCode.js:115:13) at commitHookEffectListMount (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:23150:26) at commitPassiveMountOnFiber (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24931:11) at commitPassiveMountEffects_complete (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24891:9) at commitPassiveMountEffects_begin (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24878:7) at commitPassiveMountEffects (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24866:3) at flushPassiveEffectsImpl (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27039:3) at flushPassiveEffects (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26984:14) at performSyncWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26076:3) at flushSyncCallbacks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:12042:22) at commitRootImpl (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26959:3) at commitRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26682:5) at finishConcurrentRender (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25981:9) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25809:7) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendToken.test.js:343:15) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> Pass valid address to Send To field ====== Error: expect(element).toHaveValue(ecash:qp89xgjhcqdnzzemts0aj378nfe2mhu9yvxj9nhgg6) Expected the element to have value: ecash:qp89xgjhcqdnzzemts0aj378nfe2mhu9yvxj9nhgg6 Received: e at Object.toHaveValue (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:118:32) ====== CashTab Unit Tests: <SendXec /> Pass valid alias to Send To field ====== TypeError: Cannot read properties of undefined (reading 'getUserMedia') at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:1120:49) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.getUserMedia (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:1176:16) at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:658:31) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.decodeFromConstraints (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:672:16) at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:790:23) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.decodeFromVideoDevice (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:817:16) at decodeFromVideoDevice (/work/cashtab/src/components/Common/ScanQRCode.js:45:43) at scanForQrCode (/work/cashtab/src/components/Common/ScanQRCode.js:115:13) at commitHookEffectListMount (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:23150:26) at commitPassiveMountOnFiber (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24931:11) at commitPassiveMountEffects_complete (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24891:9) at commitPassiveMountEffects_begin (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24878:7) at commitPassiveMountEffects (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24866:3) at flushPassiveEffectsImpl (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27039:3) at flushPassiveEffects (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26984:14) at performSyncWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26076:3) at flushSyncCallbacks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:12042:22) at commitRootImpl (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26959:3) at commitRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26682:5) at finishConcurrentRender (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25981:9) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25809:7) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:145:43) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> Pass an invalid address to Send To field and get a validation error ====== TypeError: Cannot read properties of undefined (reading 'getUserMedia') at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:1120:49) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.getUserMedia (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:1176:16) at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:658:31) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.decodeFromConstraints (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:672:16) at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:790:23) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.decodeFromVideoDevice (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:817:16) at decodeFromVideoDevice (/work/cashtab/src/components/Common/ScanQRCode.js:45:43) at scanForQrCode (/work/cashtab/src/components/Common/ScanQRCode.js:115:13) at commitHookEffectListMount (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:23150:26) at commitPassiveMountOnFiber (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24931:11) at commitPassiveMountEffects_complete (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24891:9) at commitPassiveMountEffects_begin (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24878:7) at commitPassiveMountEffects (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24866:3) at flushPassiveEffectsImpl (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27039:3) at flushPassiveEffects (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26984:14) at performSyncWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26076:3) at flushSyncCallbacks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:12042:22) at commitRootImpl (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26959:3) at commitRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26682:5) at finishConcurrentRender (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25981:9) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25809:7) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:210:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> Pass a possibly valid alias without .xec suffix to Send To field and get expected error ====== TypeError: Cannot read properties of undefined (reading 'getUserMedia') at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:1120:49) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.getUserMedia (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:1176:16) at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:658:31) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.decodeFromConstraints (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:672:16) at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:790:23) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.decodeFromVideoDevice (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:817:16) at decodeFromVideoDevice (/work/cashtab/src/components/Common/ScanQRCode.js:45:43) at scanForQrCode (/work/cashtab/src/components/Common/ScanQRCode.js:115:13) at commitHookEffectListMount (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:23150:26) at commitPassiveMountOnFiber (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24931:11) at commitPassiveMountEffects_complete (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24891:9) at commitPassiveMountEffects_begin (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24878:7) at commitPassiveMountEffects (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24866:3) at flushPassiveEffectsImpl (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27039:3) at flushPassiveEffects (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26984:14) at performSyncWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26076:3) at flushSyncCallbacks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:12042:22) at commitRootImpl (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26959:3) at commitRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26682:5) at finishConcurrentRender (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25981:9) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25809:7) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:247:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> Pass a valid alias to Send To field that has not yet been registered and get expected error ====== TypeError: Cannot read properties of undefined (reading 'getUserMedia') at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:1120:49) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.getUserMedia (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:1176:16) at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:658:31) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.decodeFromConstraints (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:672:16) at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:790:23) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.decodeFromVideoDevice (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:817:16) at decodeFromVideoDevice (/work/cashtab/src/components/Common/ScanQRCode.js:45:43) at scanForQrCode (/work/cashtab/src/components/Common/ScanQRCode.js:115:13) at commitHookEffectListMount (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:23150:26) at commitPassiveMountOnFiber (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24931:11) at commitPassiveMountEffects_complete (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24891:9) at commitPassiveMountEffects_begin (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24878:7) at commitPassiveMountEffects (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24866:3) at flushPassiveEffectsImpl (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27039:3) at flushPassiveEffects (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26984:14) at performSyncWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26076:3) at flushSyncCallbacks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:12042:22) at commitRootImpl (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26959:3) at commitRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26682:5) at finishConcurrentRender (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25981:9) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25809:7) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:286:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> Get expected error msg and send disabled if bad response from alias server ====== TypeError: Cannot read properties of undefined (reading 'getUserMedia') at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:1120:49) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.getUserMedia (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:1176:16) at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:658:31) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.decodeFromConstraints (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:672:16) at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:790:23) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.decodeFromVideoDevice (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:817:16) at decodeFromVideoDevice (/work/cashtab/src/components/Common/ScanQRCode.js:45:43) at scanForQrCode (/work/cashtab/src/components/Common/ScanQRCode.js:115:13) at commitHookEffectListMount (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:23150:26) at commitPassiveMountOnFiber (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24931:11) at commitPassiveMountEffects_complete (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24891:9) at commitPassiveMountEffects_begin (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24878:7) at commitPassiveMountEffects (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24866:3) at flushPassiveEffectsImpl (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27039:3) at flushPassiveEffects (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26984:14) at performSyncWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26076:3) at flushSyncCallbacks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:12042:22) at commitRootImpl (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26959:3) at commitRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26682:5) at finishConcurrentRender (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25981:9) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25809:7) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:343:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> Pass a valid address and bip21 query string with valid amount param to Send To field ====== TypeError: Cannot read properties of undefined (reading 'getUserMedia') at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:1120:49) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.getUserMedia (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:1176:16) at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:658:31) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.decodeFromConstraints (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:672:16) at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:790:23) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.decodeFromVideoDevice (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:817:16) at decodeFromVideoDevice (/work/cashtab/src/components/Common/ScanQRCode.js:45:43) at scanForQrCode (/work/cashtab/src/components/Common/ScanQRCode.js:115:13) at commitHookEffectListMount (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:23150:26) at commitPassiveMountOnFiber (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24931:11) at commitPassiveMountEffects_complete (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24891:9) at commitPassiveMountEffects_begin (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24878:7) at commitPassiveMountEffects (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24866:3) at flushPassiveEffectsImpl (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27039:3) at flushPassiveEffects (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26984:14) at performSyncWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26076:3) at flushSyncCallbacks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:12042:22) at commitRootImpl (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26959:3) at commitRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26682:5) at finishConcurrentRender (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25981:9) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25809:7) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:393:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> Pass a valid alias and bip21 query string with valid amount param to Send To field ====== Error: expect(element).toHaveValue(chicken.xec?amount=500) Expected the element to have value: chicken.xec?amount=500 Received: ch at Object.toHaveValue (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:459:32) ====== CashTab Unit Tests: <SendXec /> Pass a valid address and bip21 query string with invalid amount param (dust) to Send To field ====== Error: expect(element).toHaveValue(ecash:qp89xgjhcqdnzzemts0aj378nfe2mhu9yvxj9nhgg6?amount=5) Expected the element to have value: ecash:qp89xgjhcqdnzzemts0aj378nfe2mhu9yvxj9nhgg6?amount=5 Received: ec at Object.toHaveValue (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:506:32) ====== CashTab Unit Tests: <SendXec /> Valid address with valid bip21 query string with valid amount param rejected if amount exceeds wallet balance ====== TypeError: Cannot read properties of undefined (reading 'getUserMedia') at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:1120:49) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.getUserMedia (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:1176:16) at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:658:31) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.decodeFromConstraints (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:672:16) at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:790:23) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.decodeFromVideoDevice (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:817:16) at decodeFromVideoDevice (/work/cashtab/src/components/Common/ScanQRCode.js:45:43) at scanForQrCode (/work/cashtab/src/components/Common/ScanQRCode.js:115:13) at commitHookEffectListMount (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:23150:26) at commitPassiveMountOnFiber (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24931:11) at commitPassiveMountEffects_complete (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24891:9) at commitPassiveMountEffects_begin (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24878:7) at commitPassiveMountEffects (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24866:3) at flushPassiveEffectsImpl (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27039:3) at flushPassiveEffects (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26984:14) at performSyncWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26076:3) at flushSyncCallbacks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:12042:22) at commitRootImpl (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26959:3) at commitRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26682:5) at finishConcurrentRender (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25981:9) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25809:7) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:536:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> Pass a valid alias and bip21 query string with invalid amount param (too many decimals) to Send To field ====== Error: expect(element).toHaveValue(chicken.xec?amount=500.123) Expected the element to have value: chicken.xec?amount=500.123 Received: ch at Object.toHaveValue (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:606:32) ====== CashTab Unit Tests: <SendXec /> Pass a valid address and an invalid bip21 query string ====== TypeError: Cannot read properties of undefined (reading 'getUserMedia') at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:1120:49) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.getUserMedia (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:1176:16) at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:658:31) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.decodeFromConstraints (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:672:16) at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:790:23) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.decodeFromVideoDevice (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:817:16) at decodeFromVideoDevice (/work/cashtab/src/components/Common/ScanQRCode.js:45:43) at scanForQrCode (/work/cashtab/src/components/Common/ScanQRCode.js:115:13) at commitHookEffectListMount (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:23150:26) at commitPassiveMountOnFiber (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24931:11) at commitPassiveMountEffects_complete (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24891:9) at commitPassiveMountEffects_begin (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24878:7) at commitPassiveMountEffects (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24866:3) at flushPassiveEffectsImpl (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27039:3) at flushPassiveEffects (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26984:14) at performSyncWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26076:3) at flushSyncCallbacks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:12042:22) at commitRootImpl (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26959:3) at commitRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26682:5) at finishConcurrentRender (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25981:9) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25809:7) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:646:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> Pass a valid address and bip21 query string with op_return_raw param to Send To field ====== TypeError: Cannot read properties of undefined (reading 'getUserMedia') at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:1120:49) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.getUserMedia (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:1176:16) at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:658:31) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.decodeFromConstraints (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:672:16) at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:790:23) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.decodeFromVideoDevice (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:817:16) at decodeFromVideoDevice (/work/cashtab/src/components/Common/ScanQRCode.js:45:43) at scanForQrCode (/work/cashtab/src/components/Common/ScanQRCode.js:115:13) at commitHookEffectListMount (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:23150:26) at commitPassiveMountOnFiber (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24931:11) at commitPassiveMountEffects_complete (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24891:9) at commitPassiveMountEffects_begin (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24878:7) at commitPassiveMountEffects (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24866:3) at flushPassiveEffectsImpl (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27039:3) at flushPassiveEffects (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26984:14) at performSyncWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26076:3) at flushSyncCallbacks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:12042:22) at commitRootImpl (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26959:3) at commitRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26682:5) at finishConcurrentRender (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25981:9) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25809:7) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:690:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> Pass a valid address and bip21 query string with valid amount and op_return_raw params to Send To field ====== TypeError: Cannot read properties of undefined (reading 'getUserMedia') at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:1120:49) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.getUserMedia (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:1176:16) at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:658:31) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.decodeFromConstraints (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:672:16) at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:790:23) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.decodeFromVideoDevice (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:817:16) at decodeFromVideoDevice (/work/cashtab/src/components/Common/ScanQRCode.js:45:43) at scanForQrCode (/work/cashtab/src/components/Common/ScanQRCode.js:115:13) at commitHookEffectListMount (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:23150:26) at commitPassiveMountOnFiber (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24931:11) at commitPassiveMountEffects_complete (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24891:9) at commitPassiveMountEffects_begin (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24878:7) at commitPassiveMountEffects (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24866:3) at flushPassiveEffectsImpl (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27039:3) at flushPassiveEffects (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26984:14) at performSyncWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26076:3) at flushSyncCallbacks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:12042:22) at commitRootImpl (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26959:3) at commitRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26682:5) at finishConcurrentRender (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25981:9) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25809:7) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:741:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> Pass a valid address and bip21 query string with valid amount and invalid op_return_raw params to Send To field ====== TypeError: Cannot read properties of undefined (reading 'getUserMedia') at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:1120:49) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.getUserMedia (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:1176:16) at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:658:31) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.decodeFromConstraints (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:672:16) at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:790:23) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.decodeFromVideoDevice (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:817:16) at decodeFromVideoDevice (/work/cashtab/src/components/Common/ScanQRCode.js:45:43) at scanForQrCode (/work/cashtab/src/components/Common/ScanQRCode.js:115:13) at commitHookEffectListMount (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:23150:26) at commitPassiveMountOnFiber (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24931:11) at commitPassiveMountEffects_complete (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24891:9) at commitPassiveMountEffects_begin (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24878:7) at commitPassiveMountEffects (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24866:3) at flushPassiveEffectsImpl (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27039:3) at flushPassiveEffects (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26984:14) at performSyncWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26076:3) at flushSyncCallbacks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:12042:22) at commitRootImpl (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26959:3) at commitRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26682:5) at finishConcurrentRender (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25981:9) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25809:7) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:792:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <SendXec /> Clicking "Send" will send a valid tx with op_return_raw after entry of a valid address and bip21 query string with valid amount and op_return_raw params to Send To field ====== TypeError: Cannot read properties of undefined (reading 'getUserMedia') at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:1120:49) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.getUserMedia (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:1176:16) at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:658:31) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.decodeFromConstraints (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:672:16) at BrowserQRCodeReader.<anonymous> (/work/cashtab/node_modules/@zxing/src/readers/BrowserCodeReader.ts:790:23) at step (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:44:23) at Object.next (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:25:53) at /work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:19:71 at new Promise (<anonymous>) at Object.<anonymous>.__awaiter (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:15:12) at BrowserQRCodeReader.Object.<anonymous>.BrowserCodeReader.decodeFromVideoDevice (/work/cashtab/node_modules/@zxing/browser/cjs/readers/BrowserCodeReader.js:817:16) at decodeFromVideoDevice (/work/cashtab/src/components/Common/ScanQRCode.js:45:43) at scanForQrCode (/work/cashtab/src/components/Common/ScanQRCode.js:115:13) at commitHookEffectListMount (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:23150:26) at commitPassiveMountOnFiber (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24931:11) at commitPassiveMountEffects_complete (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24891:9) at commitPassiveMountEffects_begin (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24878:7) at commitPassiveMountEffects (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:24866:3) at flushPassiveEffectsImpl (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27039:3) at flushPassiveEffects (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26984:14) at performSyncWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26076:3) at flushSyncCallbacks (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:12042:22) at commitRootImpl (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26959:3) at commitRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26682:5) at finishConcurrentRender (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25981:9) at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25809:7) at flushActQueue (/work/cashtab/node_modules/react/cjs/react.development.js:2667:24) at act (/work/cashtab/node_modules/react/cjs/react.development.js:2582:11) at /work/cashtab/node_modules/@testing-library/react/dist/act-compat.js:46:25 at renderRoot (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:180:26) at render (/work/cashtab/node_modules/@testing-library/react/dist/pure.js:266:10) at Object.<anonymous> (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:862:37) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) Each failure log is accessible here: Comment Actions Minor commenting nit but otherwise tested all ok across small-windowed web, extension and mobile.
|