File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed 
packages/router-generator/tests Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ describe('removeUnderscores', () => {
241241} ) 
242242
243243describe ( 'removeLeadingUnderscores' ,  ( )  =>  { 
244-   it ( 'removes leading underscore when nonnested path ' ,  ( )  =>  { 
244+   it ( 'removes leading underscore when not routeToken ' ,  ( )  =>  { 
245245    expect ( removeLeadingUnderscores ( '_test' ,  'route' ) ) . toBe ( 'test' ) 
246246
247247    expect ( removeLeadingUnderscores ( '/_test/abc/route/_d' ,  'route' ) ) . toBe ( 
@@ -263,7 +263,7 @@ describe('removeLeadingUnderscores', () => {
263263} ) 
264264
265265describe ( 'removeTrailingUnderscores' ,  ( )  =>  { 
266-   it ( 'removes trailing underscore when nonnested path ' ,  ( )  =>  { 
266+   it ( 'removes trailing underscore when not routeToken ' ,  ( )  =>  { 
267267    expect ( removeTrailingUnderscores ( 'test_' ,  'route' ) ) . toBe ( 'test' ) 
268268
269269    expect ( removeTrailingUnderscores ( '/_test_/abc_/route/_d' ,  'route' ) ) . toBe ( 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments