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 @@ -1062,7 +1062,7 @@ describe('queryClient', () => {
10621062 expect ( result ) . toBe ( 'CACHED-DATA' )
10631063 } )
10641064
1065- test ( 'should throw when enabled resolves true and skipToken are provided with no cached data' , async ( ) => {
1065+ test ( 'should throw when enabled is true and skipToken are provided with no cached data' , async ( ) => {
10661066 await expect (
10671067 queryClient . query ( {
10681068 queryKey : queryKey ( ) ,
@@ -1072,7 +1072,7 @@ describe('queryClient', () => {
10721072 ) . rejects . toThrowError ( )
10731073 } )
10741074
1075- test ( 'should return cached data when enabled resolves false and skipToken are provided' , async ( ) => {
1075+ test ( 'should return cached data when enabled is false and skipToken are provided' , async ( ) => {
10761076 const key1 = queryKey ( )
10771077 queryClient . setQueryData ( key1 , { value : 'cached-data' } )
10781078
@@ -1502,7 +1502,7 @@ describe('queryClient', () => {
15021502 expect ( select ) . not . toHaveBeenCalled ( )
15031503 } )
15041504
1505- test ( 'should throw when enabled resolves true and skipToken are provided with no cached data' , async ( ) => {
1505+ test ( 'should throw when enabled is true and skipToken are provided with no cached data' , async ( ) => {
15061506 await expect (
15071507 queryClient . infiniteQuery ( {
15081508 queryKey : queryKey ( ) ,
You can’t perform that action at this time.
0 commit comments