diff --git a/packages/query-core/src/__tests__/hydration.test.tsx b/packages/query-core/src/__tests__/hydration.test.tsx index 606e05d236..2434b7b2b0 100644 --- a/packages/query-core/src/__tests__/hydration.test.tsx +++ b/packages/query-core/src/__tests__/hydration.test.tsx @@ -1643,7 +1643,7 @@ describe('dehydration and rehydration', () => { // synchronous thenable resolution must also produce status: 'success'. // Previously the if (query) branch would spread status: 'pending' from the // server state without correcting it for the resolved data. - it('should set status to success when rehydrating an existing pending query with a synchronously resolved promise', async () => { + it('should set status to success when rehydrating an existing pending query with a synchronously resolved promise', () => { const key = queryKey() // --- server --- @@ -1811,7 +1811,7 @@ describe('dehydration and rehydration', () => { serverQueryClient.clear() }) - it('should set dataUpdatedAt when hydrating a resolved streamed query into a new cache entry', async () => { + it('should set dataUpdatedAt when hydrating a resolved streamed query into a new cache entry', () => { const key = queryKey() // --- server --- @@ -1856,7 +1856,7 @@ describe('dehydration and rehydration', () => { serverQueryClient.clear() }) - it('should set dataUpdatedAt when hydrating a resolved streamed query into an existing cache entry', async () => { + it('should set dataUpdatedAt when hydrating a resolved streamed query into an existing cache entry', () => { const key = queryKey() // --- server --- diff --git a/packages/query-core/src/__tests__/queriesObserver.test.tsx b/packages/query-core/src/__tests__/queriesObserver.test.tsx index 6b9c6ee8c2..171d1493c7 100644 --- a/packages/query-core/src/__tests__/queriesObserver.test.tsx +++ b/packages/query-core/src/__tests__/queriesObserver.test.tsx @@ -473,7 +473,7 @@ describe('queriesObserver', () => { expect(newCombined.count).toBe(2) }) - it('should skip combine notifications while suspense queries have no data', async () => { + it('should skip combine notifications while suspense queries have no data', () => { const key = queryKey() const combine = vi.fn((results: Array) => results.map((result) => result.data), @@ -506,7 +506,7 @@ describe('queriesObserver', () => { unsubscribe() }) - it('should skip combine notifications after suspense is enabled without structural changes', async () => { + it('should skip combine notifications after suspense is enabled without structural changes', () => { const key = queryKey() const combine = vi.fn((results: Array) => results.map((result) => result.data),