File tree Expand file tree Collapse file tree
packages/query-core/src/__tests__ Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ( {
You can’t perform that action at this time.
0 commit comments