Stake update #1058
QA.yaml
on: pull_request
Tests
1m 24s
ESLint
41s
TypeScript
1m 49s
Prettier
36s
Unused Files, Deps, Exports
38s
E2E
0s
Annotations
4 errors and 5 warnings
src/app/[lang]/(bridge)/stake/hooks/tests/useGetStakingStrategies.test.tsx > useGetStakingStrategies > should return strategy data:
apps/evm/src/app/[lang]/(bridge)/stake/hooks/useGetStakingStrategies.ts#L143
TypeError: Cannot destructure property 'data' of 'useReadContracts(...)' as it is undefined.
❯ Module.useGetStakingStrategies src/app/[lang]/(bridge)/stake/hooks/useGetStakingStrategies.ts:143:17
❯ __vi_import_2__.renderHook.wrapper src/app/[lang]/(bridge)/stake/hooks/tests/useGetStakingStrategies.test.tsx:163:13
❯ TestComponent ../../node_modules/.pnpm/@testing-library[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/@testing-library/react-hooks/lib/helpers/createTestHarness.js:25:14
❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ updateFunctionComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:19617:20
❯ beginWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:21640:16
❯ beginWork$1 ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:27465:14
❯ performUnitOfWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26599:12
❯ workLoopSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26505:5
❯ renderRootSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26473:7
|
src/app/[lang]/(bridge)/stake/hooks/tests/useGetStakingStrategies.test.tsx > useGetStakingStrategies > should return undefined currency when outputToken is missing:
apps/evm/src/app/[lang]/(bridge)/stake/hooks/useGetStakingStrategies.ts#L143
TypeError: Cannot destructure property 'data' of 'useReadContracts(...)' as it is undefined.
❯ Module.useGetStakingStrategies src/app/[lang]/(bridge)/stake/hooks/useGetStakingStrategies.ts:143:17
❯ __vi_import_2__.renderHook.wrapper src/app/[lang]/(bridge)/stake/hooks/tests/useGetStakingStrategies.test.tsx:209:13
❯ TestComponent ../../node_modules/.pnpm/@testing-library[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/@testing-library/react-hooks/lib/helpers/createTestHarness.js:25:14
❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ updateFunctionComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:19617:20
❯ beginWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:21640:16
❯ beginWork$1 ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:27465:14
❯ performUnitOfWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26599:12
❯ workLoopSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26505:5
❯ renderRootSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26473:7
|
src/app/[lang]/(bridge)/stake/hooks/tests/useGetStakingStrategies.test.tsx > useGetStakingStrategies > should return tvl value if output token is se* token:
apps/evm/src/app/[lang]/(bridge)/stake/hooks/useGetStakingStrategies.ts#L143
TypeError: Cannot destructure property 'data' of 'useReadContracts(...)' as it is undefined.
❯ Module.useGetStakingStrategies src/app/[lang]/(bridge)/stake/hooks/useGetStakingStrategies.ts:143:17
❯ __vi_import_2__.renderHook.wrapper src/app/[lang]/(bridge)/stake/hooks/tests/useGetStakingStrategies.test.tsx:239:13
❯ TestComponent ../../node_modules/.pnpm/@testing-library[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/@testing-library/react-hooks/lib/helpers/createTestHarness.js:25:14
❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ updateFunctionComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:19617:20
❯ beginWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:21640:16
❯ beginWork$1 ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:27465:14
❯ performUnitOfWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26599:12
❯ workLoopSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26505:5
❯ renderRootSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26473:7
|
Tests
Process completed with exit code 1.
|
Prettier
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ESLint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Unused Files, Deps, Exports
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
TypeScript
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|