Skip to content

Commit 652375e

Browse files
committed
Rename test to it
1 parent 27e3412 commit 652375e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/query-core/src/__tests__/hydration.test.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1391,7 +1391,7 @@ describe('dehydration and rehydration', () => {
13911391
// synchronous thenable resolution must also produce status: 'success'.
13921392
// Previously the if (query) branch would spread status: 'pending' from the
13931393
// server state without correcting it for the resolved data.
1394-
test('should set status to success when rehydrating an existing pending query with a synchronously resolved promise', async () => {
1394+
it('should set status to success when rehydrating an existing pending query with a synchronously resolved promise', async () => {
13951395
const key = queryKey()
13961396
// --- server ---
13971397

@@ -1447,7 +1447,7 @@ describe('dehydration and rehydration', () => {
14471447
serverQueryClient.clear()
14481448
})
14491449

1450-
test('should not transition to a fetching/pending state when hydrating an already resolved promise into a new query', async () => {
1450+
it('should not transition to a fetching/pending state when hydrating an already resolved promise into a new query', async () => {
14511451
const key = queryKey()
14521452
// --- server ---
14531453
const serverQueryClient = new QueryClient({
@@ -1502,7 +1502,7 @@ describe('dehydration and rehydration', () => {
15021502
serverQueryClient.clear()
15031503
})
15041504

1505-
test('should not transition to a fetching/pending state when hydrating an already resolved promise into an existing query', async () => {
1505+
it('should not transition to a fetching/pending state when hydrating an already resolved promise into an existing query', async () => {
15061506
const key = queryKey()
15071507
// --- server ---
15081508
const serverQueryClient = new QueryClient({

0 commit comments

Comments
 (0)