Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislav Lysak committed Sep 10, 2024
1 parent daebaa5 commit f6bb039
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ import { useAccount, useClient } from 'wagmi'

import * as ThorinComponents from '@ensdomains/thorin'

import { AvatarNFT } from './AvatarNFT'
import { makeMockIntersectionObserver } from '../../../../../test/mock/makeMockIntersectionObserver'
import { AvatarNFT } from './AvatarNFT'

vi.mock('wagmi')

vi.mock('@app/hooks/chain/useBlockTimestamp', () => ({
useBlockTimestamp: () => ({ data: new Date().getTime() }),
}))
vi.mock('@app/hooks/chain/useChainName', () => ({
useChainName: () => 'mainnet',
}))
Expand Down

0 comments on commit f6bb039

Please sign in to comment.