refactor: create common library for predicated connectors #455
Annotations
7 errors and 2 warnings
src/test/walletConnector.test.ts > WalletConnect Connector > constructor() > initialize properties correctly:
packages/walletconnect-connector/src/WalletConnectConnector.ts#L174
TypeError: Cannot read properties of undefined (reading 'state')
❯ Module.getAccount ../../node_modules/.pnpm/@Wagmi[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/@wagmi/core/src/actions/getAccount.ts:63:22
❯ WalletConnectConnector.getProviders src/WalletConnectConnector.ts:174:32
❯ WalletConnectConnector.ping ../common/src/PredicateFactory.ts:274:5
❯ src/test/walletConnector.test.ts:60:7
|
src/test/walletConnector.test.ts > WalletConnect Connector > constructor() > can construct a WalletConnectConnector with a non default Provider:
packages/walletconnect-connector/src/WalletConnectConnector.ts#L174
TypeError: Cannot read properties of undefined (reading 'state')
❯ Module.getAccount ../../node_modules/.pnpm/@Wagmi[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/@wagmi/core/src/actions/getAccount.ts:63:22
❯ WalletConnectConnector.getProviders src/WalletConnectConnector.ts:174:32
❯ WalletConnectConnector.ping ../common/src/PredicateFactory.ts:274:5
❯ src/test/walletConnector.test.ts:77:7
|
src/test/walletConnector.test.ts > WalletConnect Connector > constructor() > can construct a WalletConnectConnector with a non default Promise Provider:
packages/walletconnect-connector/src/WalletConnectConnector.ts#L174
TypeError: Cannot read properties of undefined (reading 'state')
❯ Module.getAccount ../../node_modules/.pnpm/@Wagmi[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/@wagmi/core/src/actions/getAccount.ts:63:22
❯ WalletConnectConnector.getProviders src/WalletConnectConnector.ts:174:32
❯ WalletConnectConnector.ping ../common/src/PredicateFactory.ts:274:5
❯ src/test/walletConnector.test.ts:94:7
|
src/test/walletConnector.test.ts > WalletConnect Connector > setupPredicate() > Should setup predicate without given config:
packages/walletconnect-connector/src/WalletConnectConnector.ts#L153
TypeError: Cannot read properties of undefined (reading 'state')
❯ Module.getAccount ../../node_modules/.pnpm/@Wagmi[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/@wagmi/core/src/actions/getAccount.ts:63:22
❯ WalletConnectConnector.getAccountAddress src/WalletConnectConnector.ts:153:12
❯ WalletConnectConnector.setupPredicate ../common/src/PredicateFactory.ts:167:34
❯ src/test/walletConnector.test.ts:157:60
|
src/test/walletConnector.test.ts > WalletConnect Connector > currentNetwork() > returns fuel network:
packages/walletconnect-connector/src/WalletConnectConnector.ts#L174
TypeError: Cannot read properties of undefined (reading 'state')
❯ Module.getAccount ../../node_modules/.pnpm/@Wagmi[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/@wagmi/core/src/actions/getAccount.ts:63:22
❯ WalletConnectConnector.getProviders src/WalletConnectConnector.ts:174:32
❯ WalletConnectConnector.currentNetwork ../common/src/PredicateFactory.ts:306:30
❯ src/test/walletConnector.test.ts:228:23
|
Vitest Tests
@fuel-connectors/walletconnect-connector#test: command (/home/runner/actions-runner/_work/fuel-connectors/fuel-connectors/packages/walletconnect-connector) /home/runner/setup-pnpm/node_modules/.bin/pnpm run test --run --coverage.enabled --coverage.reporter=json-summary --coverage.reporter=json exited (1)
|
Vitest Tests
Process completed with exit code 1.
|
Vitest Tests
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|
Vitest Tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, actions/setup-node@v3, docker/login-action@v2, FuelLabs/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|