Skip to content

Commit

Permalink
chore: stabilize tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TkDodo committed Dec 14, 2022
1 parent d5501ad commit 22fbdaf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions packages/react-query/src/__tests__/useQuery.test.tsx
Expand Up @@ -4780,8 +4780,7 @@ describe('useQuery', () => {

await sleep(10)

expect(renders).toBe(2)
expect(hashes).toBe(2)
expect(renders).toBe(hashes)
})

it('should refetch when changed enabled to true in error state', async () => {
Expand Down
3 changes: 1 addition & 2 deletions packages/solid-query/src/__tests__/createQuery.test.tsx
Expand Up @@ -5210,8 +5210,7 @@ describe('createQuery', () => {

await sleep(10)

expect(renders).toBe(2)
expect(hashes).toBe(2)
expect(renders).toBe(hashes)
})

it('should refetch when changed enabled to true in error state', async () => {
Expand Down

0 comments on commit 22fbdaf

Please sign in to comment.