@@ -14,7 +14,7 @@ const fn = () => 'mock'
1414
1515describe ( 'QueryCache' , ( ) => {
1616 describe ( 'isFetching' , ( ) => {
17- test ( 'should properly unwrap 1 parameter' , async ( ) => {
17+ test ( 'should properly unwrap 1 parameter' , ( ) => {
1818 const queryClient = new QueryClient ( )
1919
2020 queryClient . isFetching ( {
@@ -28,7 +28,7 @@ describe('QueryCache', () => {
2828 } )
2929
3030 describe ( 'isMutating' , ( ) => {
31- test ( 'should properly unwrap 1 parameter' , async ( ) => {
31+ test ( 'should properly unwrap 1 parameter' , ( ) => {
3232 const queryClient = new QueryClient ( )
3333
3434 queryClient . isMutating ( {
@@ -42,7 +42,7 @@ describe('QueryCache', () => {
4242 } )
4343
4444 describe ( 'getQueryData' , ( ) => {
45- test ( 'should properly unwrap 1 parameter' , async ( ) => {
45+ test ( 'should properly unwrap 1 parameter' , ( ) => {
4646 const queryClient = new QueryClient ( )
4747
4848 queryClient . getQueryData ( queryKeyRef )
@@ -54,7 +54,7 @@ describe('QueryCache', () => {
5454 } )
5555
5656 describe ( 'getQueriesData' , ( ) => {
57- test ( 'should properly unwrap queryKey param' , async ( ) => {
57+ test ( 'should properly unwrap queryKey param' , ( ) => {
5858 const queryClient = new QueryClient ( )
5959
6060 queryClient . getQueriesData ( { queryKey : queryKeyRef } )
@@ -64,7 +64,7 @@ describe('QueryCache', () => {
6464 } )
6565 } )
6666
67- test ( 'should properly unwrap filters param' , async ( ) => {
67+ test ( 'should properly unwrap filters param' , ( ) => {
6868 const queryClient = new QueryClient ( )
6969
7070 queryClient . getQueriesData ( { queryKey : queryKeyRef } )
@@ -76,7 +76,7 @@ describe('QueryCache', () => {
7676 } )
7777
7878 describe ( 'setQueryData' , ( ) => {
79- test ( 'should properly unwrap 3 parameter' , async ( ) => {
79+ test ( 'should properly unwrap 3 parameter' , ( ) => {
8080 const queryClient = new QueryClient ( )
8181
8282 queryClient . setQueryData ( queryKeyRef , fn , {
@@ -92,7 +92,7 @@ describe('QueryCache', () => {
9292 } )
9393
9494 describe ( 'setQueriesData' , ( ) => {
95- test ( 'should properly unwrap params with queryKey' , async ( ) => {
95+ test ( 'should properly unwrap params with queryKey' , ( ) => {
9696 const queryClient = new QueryClient ( )
9797
9898 queryClient . setQueriesData ( { queryKey : queryKeyRef } , fn , {
@@ -106,7 +106,7 @@ describe('QueryCache', () => {
106106 )
107107 } )
108108
109- test ( 'should properly unwrap params with filters' , async ( ) => {
109+ test ( 'should properly unwrap params with filters' , ( ) => {
110110 const queryClient = new QueryClient ( )
111111
112112 queryClient . setQueriesData ( { queryKey : queryKeyRef } , fn , {
@@ -122,7 +122,7 @@ describe('QueryCache', () => {
122122 } )
123123
124124 describe ( 'getQueryState' , ( ) => {
125- test ( 'should properly unwrap 1 parameter' , async ( ) => {
125+ test ( 'should properly unwrap 1 parameter' , ( ) => {
126126 const queryClient = new QueryClient ( )
127127
128128 queryClient . getQueryState ( queryKeyRef )
@@ -134,7 +134,7 @@ describe('QueryCache', () => {
134134 } )
135135
136136 describe ( 'removeQueries' , ( ) => {
137- test ( 'should properly unwrap 1 parameter' , async ( ) => {
137+ test ( 'should properly unwrap 1 parameter' , ( ) => {
138138 const queryClient = new QueryClient ( )
139139
140140 queryClient . removeQueries ( {
@@ -148,7 +148,7 @@ describe('QueryCache', () => {
148148 } )
149149
150150 describe ( 'resetQueries' , ( ) => {
151- test ( 'should properly unwrap 2 parameter' , async ( ) => {
151+ test ( 'should properly unwrap 2 parameter' , ( ) => {
152152 const queryClient = new QueryClient ( )
153153
154154 queryClient . resetQueries (
@@ -168,7 +168,7 @@ describe('QueryCache', () => {
168168 } )
169169
170170 describe ( 'cancelQueries' , ( ) => {
171- test ( 'should properly unwrap 2 parameter' , async ( ) => {
171+ test ( 'should properly unwrap 2 parameter' , ( ) => {
172172 const queryClient = new QueryClient ( )
173173
174174 queryClient . cancelQueries (
@@ -259,7 +259,7 @@ describe('QueryCache', () => {
259259 } )
260260
261261 describe ( 'refetchQueries' , ( ) => {
262- test ( 'should properly unwrap 2 parameter' , async ( ) => {
262+ test ( 'should properly unwrap 2 parameter' , ( ) => {
263263 const queryClient = new QueryClient ( )
264264
265265 queryClient . refetchQueries (
@@ -279,7 +279,7 @@ describe('QueryCache', () => {
279279 } )
280280
281281 describe ( 'fetchQuery' , ( ) => {
282- test ( 'should properly unwrap parameter' , async ( ) => {
282+ test ( 'should properly unwrap parameter' , ( ) => {
283283 const queryClient = new QueryClient ( )
284284
285285 queryClient . fetchQuery ( {
@@ -293,7 +293,7 @@ describe('QueryCache', () => {
293293 } )
294294
295295 describe ( 'prefetchQuery' , ( ) => {
296- test ( 'should properly unwrap parameters' , async ( ) => {
296+ test ( 'should properly unwrap parameters' , ( ) => {
297297 const queryClient = new QueryClient ( )
298298
299299 queryClient . prefetchQuery ( { queryKey : queryKeyRef , queryFn : fn } )
@@ -306,7 +306,7 @@ describe('QueryCache', () => {
306306 } )
307307
308308 describe ( 'fetchInfiniteQuery' , ( ) => {
309- test ( 'should properly unwrap parameter' , async ( ) => {
309+ test ( 'should properly unwrap parameter' , ( ) => {
310310 const queryClient = new QueryClient ( )
311311
312312 queryClient . fetchInfiniteQuery ( {
@@ -319,7 +319,7 @@ describe('QueryCache', () => {
319319 queryKey : queryKeyUnref ,
320320 } )
321321 } )
322- test ( 'should properly unwrap parameter using infiniteQueryOptions with unref' , async ( ) => {
322+ test ( 'should properly unwrap parameter using infiniteQueryOptions with unref' , ( ) => {
323323 const queryClient = new QueryClient ( )
324324
325325 const options = infiniteQueryOptions ( {
@@ -338,7 +338,7 @@ describe('QueryCache', () => {
338338 } )
339339
340340 describe ( 'prefetchInfiniteQuery' , ( ) => {
341- test ( 'should properly unwrap parameters' , async ( ) => {
341+ test ( 'should properly unwrap parameters' , ( ) => {
342342 const queryClient = new QueryClient ( )
343343
344344 queryClient . prefetchInfiniteQuery ( {
@@ -356,7 +356,7 @@ describe('QueryCache', () => {
356356 } )
357357
358358 describe ( 'setDefaultOptions' , ( ) => {
359- test ( 'should properly unwrap parameters' , async ( ) => {
359+ test ( 'should properly unwrap parameters' , ( ) => {
360360 const queryClient = new QueryClient ( )
361361
362362 queryClient . setDefaultOptions ( {
@@ -374,7 +374,7 @@ describe('QueryCache', () => {
374374 } )
375375
376376 describe ( 'setQueryDefaults' , ( ) => {
377- test ( 'should properly unwrap parameters' , async ( ) => {
377+ test ( 'should properly unwrap parameters' , ( ) => {
378378 const queryClient = new QueryClient ( )
379379
380380 queryClient . setQueryDefaults ( queryKeyRef , {
@@ -391,7 +391,7 @@ describe('QueryCache', () => {
391391 } )
392392
393393 describe ( 'getQueryDefaults' , ( ) => {
394- test ( 'should properly unwrap parameters' , async ( ) => {
394+ test ( 'should properly unwrap parameters' , ( ) => {
395395 const queryClient = new QueryClient ( )
396396
397397 queryClient . getQueryDefaults ( queryKeyRef )
@@ -403,7 +403,7 @@ describe('QueryCache', () => {
403403 } )
404404
405405 describe ( 'setMutationDefaults' , ( ) => {
406- test ( 'should properly unwrap parameters' , async ( ) => {
406+ test ( 'should properly unwrap parameters' , ( ) => {
407407 const queryClient = new QueryClient ( )
408408
409409 queryClient . setMutationDefaults ( queryKeyRef , {
@@ -420,7 +420,7 @@ describe('QueryCache', () => {
420420 } )
421421
422422 describe ( 'getMutationDefaults' , ( ) => {
423- test ( 'should properly unwrap parameters' , async ( ) => {
423+ test ( 'should properly unwrap parameters' , ( ) => {
424424 const queryClient = new QueryClient ( )
425425
426426 queryClient . getMutationDefaults ( queryKeyRef )
0 commit comments