@@ -1386,7 +1386,7 @@ describe('dehydration and rehydration', () => {
13861386 await originalPromise
13871387 } )
13881388
1389- test ( 'should preserve queryType for infinite queries during hydration' , async ( ) => {
1389+ it ( 'should preserve queryType for infinite queries during hydration' , async ( ) => {
13901390 const queryCache = new QueryCache ( )
13911391 const queryClient = new QueryClient ( { queryCache } )
13921392
@@ -1424,7 +1424,7 @@ describe('dehydration and rehydration', () => {
14241424 expect ( ( hydratedQuery ?. state . data as any ) . pages ) . toHaveLength ( 1 )
14251425 } )
14261426
1427- test ( 'should attach infiniteQueryBehavior during hydration' , async ( ) => {
1427+ it ( 'should attach infiniteQueryBehavior during hydration' , async ( ) => {
14281428 const queryCache = new QueryCache ( )
14291429 const queryClient = new QueryClient ( { queryCache } )
14301430
@@ -1466,7 +1466,7 @@ describe('dehydration and rehydration', () => {
14661466 expect ( result . pageParams ) . toHaveLength ( 1 )
14671467 } )
14681468
1469- test ( 'should restore infinite query type through dehydrate and hydrate cycle' , async ( ) => {
1469+ it ( 'should restore infinite query type through dehydrate and hydrate cycle' , async ( ) => {
14701470 const serverClient = new QueryClient ( { queryCache : new QueryCache ( ) } )
14711471
14721472 await vi . waitFor ( ( ) =>
@@ -1500,7 +1500,7 @@ describe('dehydration and rehydration', () => {
15001500 expect ( hydratedQuery ?. queryType ) . toBe ( 'infinite' )
15011501 } )
15021502
1503- test ( 'should preserve pages structure when refetching infinite query after hydration' , async ( ) => {
1503+ it ( 'should preserve pages structure when refetching infinite query after hydration' , async ( ) => {
15041504 const serverClient = new QueryClient ( { queryCache : new QueryCache ( ) } )
15051505
15061506 await vi . waitFor ( ( ) =>
@@ -1551,7 +1551,7 @@ describe('dehydration and rehydration', () => {
15511551 expect ( result . pages [ 0 ] ) . toHaveProperty ( 'items' )
15521552 } )
15531553
1554- test ( 'should retain infinite query type after subsequent setOptions calls' , async ( ) => {
1554+ it ( 'should retain infinite query type after subsequent setOptions calls' , async ( ) => {
15551555 const serverClient = new QueryClient ( { queryCache : new QueryCache ( ) } )
15561556
15571557 await vi . waitFor ( ( ) =>
@@ -1581,7 +1581,7 @@ describe('dehydration and rehydration', () => {
15811581 expect ( query . queryType ) . toBe ( 'infinite' )
15821582 } )
15831583
1584- test ( 'should restore all pages when refetching multi-page infinite query after hydration' , async ( ) => {
1584+ it ( 'should restore all pages when refetching multi-page infinite query after hydration' , async ( ) => {
15851585 const serverClient = new QueryClient ( { queryCache : new QueryCache ( ) } )
15861586
15871587 await vi . waitFor ( ( ) =>
0 commit comments