File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed 
packages/react/src/__tests__ Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -273,9 +273,6 @@ describe('ReactElementClone', () => {
273273    if  ( gate ( flags  =>  flags . disableStringRefs ) )  { 
274274      expect ( component . childRef ) . toEqual ( { current : null } ) ; 
275275      expect ( component . parentRef . current . xyzRef . current . tagName ) . toBe ( 'SPAN' ) ; 
276-     }  else  if  ( gate ( flags  =>  false ) )  { 
277-       expect ( component . childRef ) . toEqual ( { current : null } ) ; 
278-       expect ( component . parentRef . current . xyzRef . current . tagName ) . toBe ( 'SPAN' ) ; 
279276    }  else  if  ( gate ( flags  =>  ! flags . disableStringRefs ) )  { 
280277      expect ( component . childRef ) . toEqual ( { current : null } ) ; 
281278      expect ( component . parentRef . current . xyzRef . current . tagName ) . toBe ( 'SPAN' ) ; 
@@ -413,9 +410,6 @@ describe('ReactElementClone', () => {
413410        { withoutStack : true } , 
414411      ) ; 
415412      expect ( clone . props ) . toEqual ( { foo : 'ef' ,  ref : '34' } ) ; 
416-     }  else  if  ( gate ( flags  =>  false ) )  { 
417-       expect ( clone . ref ) . toBe ( element . ref ) ; 
418-       expect ( clone . props ) . toEqual ( { foo : 'ef' } ) ; 
419413    }  else  if  ( gate ( flags  =>  ! flags . disableStringRefs ) )  { 
420414      expect ( ( )  =>  { 
421415        expect ( clone . ref ) . toBe ( element . ref ) ; 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments