File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed 
packages/react-reconciler/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1248,7 +1248,7 @@ function mountEffect(
12481248) : void  { 
12491249  if  ( __DEV__ )  { 
12501250    // $FlowExpectedError - jest isn't a global, and isn't recognized outside of tests 
1251-     if  ( 'undefined'   !==  typeof   jest )  { 
1251+     if  ( typeof   jest   !==  'undefined' )  { 
12521252      warnIfNotCurrentlyActingEffectsInDEV ( currentlyRenderingFiber ) ; 
12531253    } 
12541254  } 
@@ -1276,7 +1276,7 @@ function updateEffect(
12761276) : void  { 
12771277  if  ( __DEV__ )  { 
12781278    // $FlowExpectedError - jest isn't a global, and isn't recognized outside of tests 
1279-     if  ( 'undefined'   ! ==  typeof   jest )  { 
1279+     if  ( typeof   jest   ! ==  'undefined' )  { 
12801280      warnIfNotCurrentlyActingEffectsInDEV( currentlyRenderingFiber ) ; 
12811281    } 
12821282  } 
@@ -1771,7 +1771,7 @@ function dispatchAction<S, A>(
17711771    } 
17721772    if  ( __DEV__ )  { 
17731773      // $FlowExpectedError - jest isn't a global, and isn't recognized outside of tests 
1774-       if  ( 'undefined'   !==  typeof   jest )   { 
1774+       if  ( typeof   jest   !==  'undefined' )   { 
17751775        warnIfNotScopedWithMatchingAct ( fiber ) ; 
17761776        warnIfNotCurrentlyActingUpdatesInDev ( fiber ) ; 
17771777      } 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments