File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -313,24 +313,19 @@ func.defaultConfig = {
313313} ;
314314
315315func . defaultConfig . preprocessors [ pathToCustomMatchers ] = [ 'browserify' ] ;
316+ func . defaultConfig . preprocessors [ testFileGlob ] = [ 'browserify' ] ;
316317
317318if ( isBundleTest ) {
318319 switch ( basename ( testFileGlob ) ) {
319320 case 'minified_bundle' :
320321 func . defaultConfig . files . push ( constants . pathToPlotlyBuildMin ) ;
321- func . defaultConfig . preprocessors [ testFileGlob ] = [ 'browserify' ] ;
322322 break ;
323323 case 'plotschema' :
324324 func . defaultConfig . browserify . ignoreTransform = './tasks/compress_attributes.js' ;
325- func . defaultConfig . preprocessors [ testFileGlob ] = [ 'browserify' ] ;
326- break ;
327- default :
328- func . defaultConfig . preprocessors [ testFileGlob ] = [ 'browserify' ] ;
329325 break ;
330326 }
331327} else {
332328 func . defaultConfig . files . push ( pathToJQuery ) ;
333- func . defaultConfig . preprocessors [ testFileGlob ] = [ 'browserify' ] ;
334329}
335330
336331// lastly, load test file glob
You can’t perform that action at this time.
0 commit comments