File tree Expand file tree Collapse file tree 1 file changed +7
-20
lines changed Expand file tree Collapse file tree 1 file changed +7
-20
lines changed Original file line number Diff line number Diff line change @@ -50,30 +50,17 @@ function createFakePatternLab(customProps) {
5050  return  extend ( pl ,  customProps ) ; 
5151} 
5252
53- // tap.test('transformConfigPaths takes configuration.paths() and maps to a better key store', function (test) { 
54- //   //arrange 
55- //   var patternlab = createFakePatternLab({}); 
56- 
57- //   //act 
58- //   var result = assetCopy.transformConfigPaths(patternlab.config.paths); 
59- 
60- //   //assert 
61- //   test.equals(result.img.source, './test/img'); 
62- //   test.equals(result.img.public, './test/output/img'); 
63- //   test.equals(result.css.source, './test/css'); 
64- //   test.equals(result.css.public, './test/output/css'); 
65- //   test.end(); 
66- // }); 
67- 
68- tap . test ( 'assetCopier does stuff' ,  function ( test )  { 
53+ tap . test ( 'transformConfigPaths takes configuration.paths() and maps to a better key store' ,  function  ( test )  { 
6954  //arrange 
7055  var  patternlab  =  createFakePatternLab ( { } ) ; 
7156
7257  //act 
73- 
74-   assetCopier . copyAssets ( patternlab . config . paths ,  { } ) ; 
58+   var  result  =  assetCopier . transformConfigPaths ( patternlab . config . paths ) ; 
7559
7660  //assert 
77- 
61+   test . equals ( result . img . source ,  './test/img' ) ; 
62+   test . equals ( result . img . public ,  './test/output/img' ) ; 
63+   test . equals ( result . css . source ,  './test/css' ) ; 
64+   test . equals ( result . css . public ,  './test/output/css' ) ; 
7865  test . end ( ) ; 
79- } ) 
66+ } ) ; 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments