feat: onStatus #3373
Annotations
6 errors
src/transaction/hooks/useCallsStatus.test.ts > useCallsStatus > should handle errors and call onError callback:
src/transaction/hooks/useCallsStatus.ts#L23
TypeError: setLifeCycleState is not a function
❯ Module.useCallsStatus src/transaction/hooks/useCallsStatus.ts:23:5
❯ src/transaction/hooks/useCallsStatus.test.ts:38:7
❯ TestComponent node_modules/@testing-library/react/dist/pure.js:309:27
❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16
❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14
❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12
❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26505:5
❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26473:7
|
src/transaction/hooks/useWriteContract.test.ts > useWriteContract > should handle generic error:
src/transaction/hooks/useWriteContract.ts#L33
TypeError: setLifeCycleState is not a function
❯ onError src/transaction/hooks/useWriteContract.ts:33:11
❯ src/transaction/hooks/useWriteContract.test.ts:79:5
|
src/transaction/hooks/useWriteContract.test.ts > useWriteContract > should handle uncaught errors:
src/transaction/hooks/useWriteContract.ts#L47
TypeError: setLifeCycleState is not a function
❯ Module.useWriteContract src/transaction/hooks/useWriteContract.ts:47:5
❯ src/transaction/hooks/useWriteContract.test.ts:130:7
❯ TestComponent node_modules/@testing-library/react/dist/pure.js:309:27
❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16
❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14
❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12
❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26505:5
❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26473:7
|
src/transaction/hooks/useWriteContracts.test.ts > useWriteContracts > should handle generic error:
src/transaction/hooks/useWriteContracts.ts#L42
TypeError: setLifeCycleState is not a function
❯ onError src/transaction/hooks/useWriteContracts.ts:42:11
❯ src/transaction/hooks/useWriteContracts.test.ts:43:5
|
src/transaction/hooks/useWriteContracts.test.ts > useWriteContracts > should handle uncaught errors:
src/transaction/hooks/useWriteContracts.ts#L54
TypeError: setLifeCycleState is not a function
❯ Module.useWriteContracts src/transaction/hooks/useWriteContracts.ts:54:5
❯ src/transaction/hooks/useWriteContracts.test.ts:93:7
❯ TestComponent node_modules/@testing-library/react/dist/pure.js:309:27
❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16
❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14
❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12
❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26505:5
❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26473:7
|
build (18.x)
Process completed with exit code 1.
|