Chore move strategies request to backend #1332
QA.yaml
on: pull_request
Tests
1m 18s
ESLint
46s
TypeScript
1m 22s
Prettier
34s
Unused Files, Deps, Exports
30s
E2E
0s
Annotations
10 errors and 5 warnings
src/hooks/tests/useGetStrategies.test.tsx > useGetStrategies hook > should call useQuery with correct params:
apps/evm/src/hooks/tests/useGetStrategies.test.tsx#L29
Error: Timed out in waitFor after 1000ms.
❯ waitFor ../../node_modules/.pnpm/@testing-library+react-hooks@8.0.1_@types+react@18.3.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@testing-library/react-hooks/lib/core/asyncUtils.js:64:13
❯ src/hooks/tests/useGetStrategies.test.tsx:29:5
|
src/hooks/tests/useGetStrategies.test.tsx > useGetStrategies hook > should handle error state correctly:
apps/evm/src/hooks/tests/useGetStrategies.test.tsx#L48
AssertionError: expected TypeError: Failed to parse URL from /api/… { cause: TypeError: … } to deeply equal Error: Failed to fetch
- Expected
+ Received
- [Error: Failed to fetch]
+ [TypeError: Failed to parse URL from /api/strategies?]
❯ src/hooks/tests/useGetStrategies.test.tsx:48:34
|
Tests
Process completed with exit code 1.
|
TypeScript
Property 'deposit' does not exist on type 'StrategyData'.
|
TypeScript
Property 'deposit' does not exist on type 'StrategyData'.
|
TypeScript
Property 'deposit' does not exist on type 'StrategyData'.
|
TypeScript
Property 'tvl' does not exist on type 'StrategyData'.
|
TypeScript
Property 'tvl' does not exist on type 'StrategyData'.
|
TypeScript
bob-evm#typecheck: command (/home/runner/work/ui/ui/apps/evm) /home/runner/setup-pnpm/node_modules/.bin/pnpm run typecheck exited (2)
|
TypeScript
Process completed with exit code 2.
|
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
|
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
|
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
|