fix: linting issue affecting build #74
cd.yml
on: push
Verify
/
Lint
7s
Verify
/
Test
1m 5s
Annotations
3 errors
|
Verify / Test
Process completed with exit code 1.
|
|
packages/client/src/actions/markets.test.ts > Given the Aave Protocol v3 > When fetching markets data > Then it should be possible to fetch markets for a given chain ID:
packages/client/src/client.ts#L23
InvariantError: Expected a value, got: [GraphQL] Failed to load from multicall loader
❯ n packages/types/src/helpers/invariant.ts:20:11
❯ takeValue packages/client/src/client.ts:23:3
❯ ResultAsync.<anonymous> node_modules/.pnpm/[email protected]/node_modules/neverthrow/dist/index.cjs.js:133:33
❯ node_modules/.pnpm/[email protected]/node_modules/neverthrow/dist/index.cjs.js:43:71
❯ __awaiter node_modules/.pnpm/[email protected]/node_modules/neverthrow/dist/index.cjs.js:39:12
❯ node_modules/.pnpm/[email protected]/node_modules/neverthrow/dist/index.cjs.js:129:60
❯ packages/client/src/actions/markets.test.ts:9:22
|
|
packages/client/src/actions/chains.test.ts > Given the Aave client > When using the 'chains(client)' action > Then it should return the supported chains:
packages/client/src/actions/chains.test.ts#L11
Error: Snapshot `Given the Aave client > When using the 'chains(client)' action > Then it should return the supported chains 1` mismatched
- Expected
+ Received
[
{
"__typename": "Chain",
"chainId": 1,
+ "explorerUrl": "https://etherscan.io",
"icon": "https://statics.aave.com/ethereum.svg",
"name": "Ethereum",
},
{
"__typename": "Chain",
"chainId": 42161,
+ "explorerUrl": "https://arbiscan.io",
"icon": "https://statics.aave.com/arbitrum.svg",
"name": "Arbitrum",
},
{
"__typename": "Chain",
"chainId": 43114,
+ "explorerUrl": "https://cchain.explorer.avax.network",
"icon": "https://statics.aave.com/avalanche.svg",
"name": "Avalanche",
},
{
"__typename": "Chain",
"chainId": 8453,
+ "explorerUrl": "https://basescan.org",
"icon": "https://statics.aave.com/base.svg",
"name": "Base",
},
{
"__typename": "Chain",
"chainId": 56,
+ "explorerUrl": "https://bscscan.com",
"icon": "https://statics.aave.com/bnbchain.svg",
"name": "BSC",
},
{
"__typename": "Chain",
"chainId": 42220,
+ "explorerUrl": "https://celoscan.io",
"icon": "https://statics.aave.com/celo.svg",
"name": "Celo",
},
{
"__typename": "Chain",
"chainId": 100,
+ "explorerUrl": "https://gnosisscan.io",
"icon": "https://statics.aave.com/Gnosis.svg",
"name": "Gnosis",
},
{
"__typename": "Chain",
"chainId": 59144,
+ "explorerUrl": "https://lineascan.build",
"icon": "https://statics.aave.com/linea.svg",
"name": "Linea",
},
{
"__typename": "Chain",
"chainId": 1088,
+ "explorerUrl": "https://andromeda-explorer.metis.io",
"icon": "https://statics.aave.com/Metis.svg",
"name": "Metis",
},
{
"__typename": "Chain",
"chainId": 10,
+ "explorerUrl": "https://optimistic.etherscan.io",
"icon": "https://statics.aave.com/optimism.svg",
"name": "Optimism",
},
{
"__typename": "Chain",
"chainId": 137,
+ "explorerUrl": "https://polygonscan.com",
"icon": "https://statics.aave.com/polygon.svg",
"name": "Polygon",
},
{
"__typename": "Chain",
"chainId": 534352,
+ "explorerUrl": "https://scrollscan.com",
"icon": "https://statics.aave.com/scroll-network.svg",
"name": "Scroll",
},
{
"__typename": "Chain",
"chainId": 1868,
+ "explorerUrl": "https://soneium.blockscout.com",
"icon": "https://statics.aave.com/soneium.svg",
"name": "Soneium",
},
{
"__typename": "Chain",
"chainId": 146,
+ "explorerUrl": "https://sonicscan.org",
"icon": "https://statics.aave.com/sonic.svg",
"name": "Sonic",
},
{
"__typename": "Chain",
"chainId": 324,
+ "explorerUrl": "https://era.zksync.network",
"icon": "https://statics.aave.com/zksync-era-light.svg",
"name": "zkSync",
},
{
"__typename": "Chain",
"chainId": 5000,
+ "explorerUrl": "https://explorer.mantle.xyz",
"icon": "https://statics.aave.com/mantle.svg",
"name": "Mantle",
},
]
❯ packages/client/src/actions/chains.test.ts:11:28
|