Skip to content

Commit

Permalink
test: update useBlockNumber
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm committed Aug 18, 2023
1 parent 4015600 commit fe3a928
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/react/src/hooks/useBlockNumber.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ test('mounts', async () => {
})

test('watch', async () => {
await testClient.mainnet.resetFork()

const { result } = renderHook(() => useBlockNumber({ watch: true }))

await waitFor(() => expect(result.current.isSuccess).toBeTruthy())
Expand Down

1 comment on commit fe3a928

@vercel
Copy link

@vercel vercel bot commented on fe3a928 Aug 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

wagmi-v2 – ./docs

wagmi-v2-git-alpha-wagmi-dev.vercel.app
wagmi-v2-wagmi-dev.vercel.app
alpha.wagmi.sh
wagmi-v2.vercel.app

Please sign in to comment.