refactor: remove swap findChildren #8653
Annotations
3 errors
Unhandled error:
src/fund/hooks/usePaymentMethods.ts#L59
ReferenceError: window is not defined
❯ getCurrentEventPriority node_modules/react-dom/cjs/react-dom.development.js:10993:22
❯ requestUpdateLane node_modules/react-dom/cjs/react-dom.development.js:25495:19
❯ dispatchSetState node_modules/react-dom/cjs/react-dom.development.js:16648:14
❯ src/fund/hooks/usePaymentMethods.ts:59:7
❯ processTicksAndRejections node:internal/process/task_queues:95:5
This error originated in "src/fund/hooks/useFundCardSetupOnrampEventListeners.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
This error was caught after test environment was torn down. Make sure to cancel any running tasks before test finishes:
- cancel timeouts using clearTimeout and clearInterval
- wait for promises to resolve using the await keyword
|
Unhandled error:
src/fund/hooks/usePaymentMethods.ts#L59
ReferenceError: window is not defined
❯ getCurrentEventPriority node_modules/react-dom/cjs/react-dom.development.js:10993:22
❯ requestUpdateLane node_modules/react-dom/cjs/react-dom.development.js:25495:19
❯ dispatchSetState node_modules/react-dom/cjs/react-dom.development.js:16648:14
❯ src/fund/hooks/usePaymentMethods.ts:59:7
❯ processTicksAndRejections node:internal/process/task_queues:95:5
This error originated in "src/fund/hooks/useFundCardSetupOnrampEventListeners.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
This error was caught after test environment was torn down. Make sure to cancel any running tasks before test finishes:
- cancel timeouts using clearTimeout and clearInterval
- wait for promises to resolve using the await keyword
|
build (18.x)
Process completed with exit code 1.
|