feat: assets table v2 #738
Triggered via pull request
March 4, 2025 16:56
Status
Cancelled
Total duration
1h 21m 8s
Artifacts
–
Annotations
14 errors
Lint:
src/features/cosmos/use-augmented-balances.ts#L59
React Hook useEffect has a missing dependency: 'chainWallets'. Either include it or remove the dependency array
|
Lint:
src/features/cosmos/utils/fetch-balances.test.ts#L15
Unsafe assignment of an error typed value
|
Lint:
src/features/cosmos/utils/fetch-balances.test.ts#L25
Unsafe assignment of an error typed value
|
Lint:
src/pages/portfolio/ui/asset-bars.tsx#L24
An empty interface is equivalent to `{}`
|
Lint:
src/pages/portfolio/ui/asset-bars.tsx#L293
Prefer using an optional chain expression instead, as it's more concise and easier to read
|
Lint:
src/pages/portfolio/ui/asset-bars.tsx#L293
Unnecessary conditional, value is always truthy
|
Lint:
src/pages/portfolio/ui/asset-bars.tsx#L339
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
|
Lint
Process completed with exit code 1.
|
src/features/cosmos/utils/decode-balance.test.ts > decodeBalance > should decode IBC token:
src/features/cosmos/utils/decode-balance.test.ts#L82
AssertionError: expected { …(3) } to deeply equal { …(5) }
- Expected
+ Received
Object {
"amount": "1000000",
"chain": "osmosis-1",
"denom": "ibc/transfer/channel-0/uatom",
- "displayAmount": "1.00 ATOM",
- "symbol": "ATOM",
}
❯ src/features/cosmos/utils/decode-balance.test.ts:82:20
|
src/features/cosmos/utils/fetch-balances.test.ts > fetchChainBalances > should fetch balances from multiple chains:
src/features/cosmos/utils/fetch-balances.ts#L11
Error: Data too short
❯ Object.decode node_modules/.pnpm/[email protected]/node_modules/bech32/dist/index.js:158:15
❯ Module.fetchChainBalances src/features/cosmos/utils/fetch-balances.ts:11:28
❯ src/features/cosmos/utils/fetch-balances.test.ts:58:26
|
src/features/cosmos/utils/fetch-balances.test.ts > fetchChainBalances > should handle failed chain requests gracefully:
src/features/cosmos/utils/fetch-balances.ts#L11
Error: Data too short
❯ Object.decode node_modules/.pnpm/[email protected]/node_modules/bech32/dist/index.js:158:15
❯ Module.fetchChainBalances src/features/cosmos/utils/fetch-balances.ts:11:28
❯ src/features/cosmos/utils/fetch-balances.test.ts:79:26
|
src/features/cosmos/utils/fetch-balances.test.ts > fetchChainBalances > should filter out zero balances:
src/features/cosmos/utils/fetch-balances.ts#L11
Error: Data too short
❯ Object.decode node_modules/.pnpm/[email protected]/node_modules/bech32/dist/index.js:158:15
❯ Module.fetchChainBalances src/features/cosmos/utils/fetch-balances.ts:11:28
❯ src/features/cosmos/utils/fetch-balances.test.ts:101:26
|
test
Process completed with exit code 1.
|
Build
Canceling since a higher priority waiting request for 'CI-refs/pull/380/merge' exists
|