File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed 
packages/vue-query/src/__tests__ Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,15 +20,15 @@ describe('useQueryClient', () => {
2020
2121    expect ( queryClient ) . toStrictEqual ( queryClientMock ) 
2222    expect ( injectSpy ) . toHaveBeenCalledTimes ( 1 ) 
23-     expect ( injectSpy ) . toHaveBeenCalledWith ( VUE_QUERY_CLIENT ,   null ) 
23+     expect ( injectSpy ) . toHaveBeenCalledWith ( VUE_QUERY_CLIENT ) 
2424  } ) 
2525
2626  test ( 'should throw an error when queryClient does not exist in the context' ,  ( )  =>  { 
2727    injectSpy . mockReturnValueOnce ( undefined ) 
2828
2929    expect ( useQueryClient ) . toThrowError ( ) 
3030    expect ( injectSpy ) . toHaveBeenCalledTimes ( 1 ) 
31-     expect ( injectSpy ) . toHaveBeenCalledWith ( VUE_QUERY_CLIENT ,   null ) 
31+     expect ( injectSpy ) . toHaveBeenCalledWith ( VUE_QUERY_CLIENT ) 
3232  } ) 
3333
3434  test ( 'should throw an error when used outside of setup function' ,  ( )  =>  { 
@@ -46,6 +46,6 @@ describe('useQueryClient', () => {
4646
4747    useQueryClient ( queryClientKey ) 
4848
49-     expect ( injectSpy ) . toHaveBeenCalledWith ( expectedKeyParameter ,   null ) 
49+     expect ( injectSpy ) . toHaveBeenCalledWith ( expectedKeyParameter ) 
5050  } ) 
5151} ) 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments