Skip to content

use showCallsStatus for smart wallets #3136

use showCallsStatus for smart wallets

use showCallsStatus for smart wallets #3136

Triggered via pull request August 5, 2024 19:58
Status Failure
Total duration 2m 44s
Artifacts

test.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

7 errors
src/transaction/hooks/useGetTransactionStatus.test.tsx > useGetTransactionStatus > should return correct status and actionElement when transaction is pending: src/transaction/hooks/useGetTransactionStatus.tsx#L10
WagmiProviderNotFoundError: `useConfig` must be used within `WagmiProvider`. Docs: https://wagmi.sh/react/api/WagmiProvider.html Version: [email protected] ❯ useConfig node_modules/wagmi/src/hooks/useConfig.ts:20:22 ❯ Module.useShowCallsStatus node_modules/wagmi/src/experimental/hooks/useShowCallsStatus.ts:59:18 ❯ Module.useGetTransactionStatus src/transaction/hooks/useGetTransactionStatus.tsx:10:31 ❯ src/transaction/hooks/useGetTransactionStatus.test.tsx:24:41 ❯ 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 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { details: undefined, docsPath: '/api/WagmiProvider', metaMessages: undefined, shortMessage: '`useConfig` must be used within `WagmiProvider`.', docsBaseUrl: 'https://wagmi.sh/react', version: '[email protected]', walk: 'Function<walk>' }
src/transaction/hooks/useGetTransactionStatus.test.tsx > useGetTransactionStatus > should return correct status and actionElement when transaction hash exists: src/transaction/hooks/useGetTransactionStatus.tsx#L10
WagmiProviderNotFoundError: `useConfig` must be used within `WagmiProvider`. Docs: https://wagmi.sh/react/api/WagmiProvider.html Version: [email protected] ❯ useConfig node_modules/wagmi/src/hooks/useConfig.ts:20:22 ❯ Module.useShowCallsStatus node_modules/wagmi/src/experimental/hooks/useShowCallsStatus.ts:59:18 ❯ Module.useGetTransactionStatus src/transaction/hooks/useGetTransactionStatus.tsx:10:31 ❯ src/transaction/hooks/useGetTransactionStatus.test.tsx:34:41 ❯ 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 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { details: undefined, docsPath: '/api/WagmiProvider', metaMessages: undefined, shortMessage: '`useConfig` must be used within `WagmiProvider`.', docsBaseUrl: 'https://wagmi.sh/react', version: '[email protected]', walk: 'Function<walk>' }
src/transaction/hooks/useGetTransactionStatus.test.tsx > useGetTransactionStatus > should return correct status and actionElement when receipt exists: src/transaction/hooks/useGetTransactionStatus.tsx#L10
WagmiProviderNotFoundError: `useConfig` must be used within `WagmiProvider`. Docs: https://wagmi.sh/react/api/WagmiProvider.html Version: [email protected] ❯ useConfig node_modules/wagmi/src/hooks/useConfig.ts:20:22 ❯ Module.useShowCallsStatus node_modules/wagmi/src/experimental/hooks/useShowCallsStatus.ts:59:18 ❯ Module.useGetTransactionStatus src/transaction/hooks/useGetTransactionStatus.tsx:10:31 ❯ src/transaction/hooks/useGetTransactionStatus.test.tsx:46:41 ❯ 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 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { details: undefined, docsPath: '/api/WagmiProvider', metaMessages: undefined, shortMessage: '`useConfig` must be used within `WagmiProvider`.', docsBaseUrl: 'https://wagmi.sh/react', version: '[email protected]', walk: 'Function<walk>' }
src/transaction/hooks/useGetTransactionStatus.test.tsx > useGetTransactionStatus > should return correct status and actionElement when error occurs: src/transaction/hooks/useGetTransactionStatus.tsx#L10
WagmiProviderNotFoundError: `useConfig` must be used within `WagmiProvider`. Docs: https://wagmi.sh/react/api/WagmiProvider.html Version: [email protected] ❯ useConfig node_modules/wagmi/src/hooks/useConfig.ts:20:22 ❯ Module.useShowCallsStatus node_modules/wagmi/src/experimental/hooks/useShowCallsStatus.ts:59:18 ❯ Module.useGetTransactionStatus src/transaction/hooks/useGetTransactionStatus.tsx:10:31 ❯ src/transaction/hooks/useGetTransactionStatus.test.tsx:57:41 ❯ 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 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { details: undefined, docsPath: '/api/WagmiProvider', metaMessages: undefined, shortMessage: '`useConfig` must be used within `WagmiProvider`.', docsBaseUrl: 'https://wagmi.sh/react', version: '[email protected]', walk: 'Function<walk>' }
src/transaction/hooks/useGetTransactionStatus.test.tsx > useGetTransactionStatus > should return correct status and actionElement when no status available: src/transaction/hooks/useGetTransactionStatus.tsx#L10
WagmiProviderNotFoundError: `useConfig` must be used within `WagmiProvider`. Docs: https://wagmi.sh/react/api/WagmiProvider.html Version: [email protected] ❯ useConfig node_modules/wagmi/src/hooks/useConfig.ts:20:22 ❯ Module.useShowCallsStatus node_modules/wagmi/src/experimental/hooks/useShowCallsStatus.ts:59:18 ❯ Module.useGetTransactionStatus src/transaction/hooks/useGetTransactionStatus.tsx:10:31 ❯ src/transaction/hooks/useGetTransactionStatus.test.tsx:68:41 ❯ 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 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { details: undefined, docsPath: '/api/WagmiProvider', metaMessages: undefined, shortMessage: '`useConfig` must be used within `WagmiProvider`.', docsBaseUrl: 'https://wagmi.sh/react', version: '[email protected]', walk: 'Function<walk>' }
src/transaction/hooks/useWriteContract.test.ts > useWriteContract > should handle successful transaction: src/transaction/hooks/useWriteContract.test.ts#L114
AssertionError: expected undefined not to be undefined ❯ src/transaction/hooks/useWriteContract.test.ts:114:31
build (18.x)
Process completed with exit code 1.