Skip to content

Commit

Permalink
Merge branch 'master' into remove-goerli-from-example-app-multichain-…
Browse files Browse the repository at this point in the history
…section
  • Loading branch information
nezouse committed May 13, 2024
2 parents 9ab54a5 + 42eb191 commit 672ea7c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions packages/coingecko/src/hooks/useCoingeckoTokenPrices.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@ import { renderHook } from '@testing-library/react-hooks'
import { useCoingeckoTokenPrices } from './useCoingeckoPrices'
import { expect } from 'chai'

const ADDRESSES = [
'0x0d8775f648430679a709e98d2b0cb6250d2887ef',
'0xe41d2489571d322189246dafa5ebde1f4699f498',
'0xf5dce57282a584d2746faf1593d3121fcac444dc',
]
const ADDRESSES = ['0x0d8775f648430679a709e98d2b0cb6250d2887ef']

describe('useCoingeckoTokenPrices', () => {
it('works', async () => {
Expand All @@ -15,7 +11,7 @@ describe('useCoingeckoTokenPrices', () => {
await waitForNextUpdate()
expect(result.error).to.be.undefined
expect(result.current).to.be.an('array')
expect(result.current?.length).to.eq(3)
expect(result.current?.length).to.eq(1)
expect(result.current![0]).to.be.a('number')
})
})

0 comments on commit 672ea7c

Please sign in to comment.