Skip to content

Strategy Table List #5539

Strategy Table List

Strategy Table List #5539

Triggered via pull request December 18, 2024 13:53
Status Failure
Total duration 45s
Artifacts

test.yaml

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

Annotations

10 errors and 1 warning
src/pages/trade/disposable.test.tsx: src/libs/wagmi/config.ts#L2
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ src/libs/wagmi/config.ts:2:31 ❯ src/libs/wagmi/useWagmiNetwork.tsx:3:31 Caused by: TypeError: createRoute is not a function ❯ src/libs/routing/routes/strategyEdit.ts:39:35 ❯ src/components/strategies/edit/utils.ts:3:31
src/pages/trade/overlapping.test.tsx: src/libs/wagmi/config.ts#L2
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ src/libs/wagmi/config.ts:2:31 ❯ src/libs/wagmi/useWagmiNetwork.tsx:3:31 Caused by: TypeError: Cannot read properties of undefined (reading 'privacy') ❯ getDefaultConnector src/libs/wagmi/connectors.ts:99:43 ❯ getConfigConnectors src/libs/wagmi/connectors.ts:135:39 ❯ src/libs/wagmi/connectors.ts:138:33 ❯ src/libs/testing-library/setup.ts:41:15
src/pages/trade/recurring.test.tsx: src/libs/wagmi/config.ts#L2
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ src/libs/wagmi/config.ts:2:31 ❯ src/libs/wagmi/useWagmiNetwork.tsx:3:31 Caused by: TypeError: createRoute is not a function ❯ src/libs/routing/routes/strategyEdit.ts:39:35 ❯ src/components/strategies/edit/utils.ts:3:31
src/components/strategies/marketPriceIndication/MarketPriceIndication.test.tsx: src/libs/wagmi/config.ts#L2
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ src/libs/wagmi/config.ts:2:31 ❯ src/libs/wagmi/useWagmiNetwork.tsx:3:31 Caused by: TypeError: createRoute is not a function ❯ src/libs/routing/routes/strategyEdit.ts:39:35 ❯ src/components/strategies/edit/utils.ts:3:31
src/pages/strategies/edit/budget/disposable.test.tsx: src/libs/wagmi/config.ts#L2
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ src/libs/wagmi/config.ts:2:31 ❯ src/libs/wagmi/useWagmiNetwork.tsx:3:31 Caused by: TypeError: createRoute is not a function ❯ src/libs/routing/routes/strategyEdit.ts:39:35 ❯ src/components/strategies/edit/utils.ts:3:31
src/pages/strategies/edit/budget/overlapping.test.tsx: src/libs/wagmi/config.ts#L2
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ src/libs/wagmi/config.ts:2:31 ❯ src/libs/wagmi/useWagmiNetwork.tsx:3:31 Caused by: TypeError: createRoute is not a function ❯ src/libs/routing/routes/strategyEdit.ts:39:35 ❯ src/components/strategies/edit/utils.ts:3:31
src/pages/strategies/edit/budget/recurring.test.tsx: src/libs/wagmi/config.ts#L2
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ src/libs/wagmi/config.ts:2:31 ❯ src/libs/wagmi/useWagmiNetwork.tsx:3:31 Caused by: TypeError: createRoute is not a function ❯ src/libs/routing/routes/strategyEdit.ts:39:35 ❯ src/components/strategies/edit/utils.ts:3:31
src/pages/strategies/edit/prices/disposable.test.tsx: src/libs/wagmi/config.ts#L2
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ src/libs/wagmi/config.ts:2:31 ❯ src/libs/wagmi/useWagmiNetwork.tsx:3:31 Caused by: TypeError: createRoute is not a function ❯ src/libs/routing/routes/strategyEdit.ts:39:35 ❯ src/components/strategies/edit/utils.ts:3:31
src/pages/strategies/edit/prices/overlapping.test.tsx: src/libs/wagmi/config.ts#L2
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ src/libs/wagmi/config.ts:2:31 ❯ src/libs/wagmi/useWagmiNetwork.tsx:3:31 Caused by: TypeError: createRoute is not a function ❯ src/libs/routing/routes/strategyEdit.ts:39:35 ❯ src/components/strategies/edit/utils.ts:3:31
src/pages/strategies/edit/prices/recurring.test.tsx: src/libs/wagmi/config.ts#L2
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ src/libs/wagmi/config.ts:2:31 ❯ src/libs/wagmi/useWagmiNetwork.tsx:3:31 Caused by: TypeError: createRoute is not a function ❯ src/libs/routing/routes/strategyEdit.ts:39:35 ❯ src/components/strategies/edit/utils.ts:3:31
Tests (20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636