File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -23,4 +23,7 @@ import '../../src/platform_browser/browser_init';
2323 * https://github.com/webpack-contrib/karma-webpack#alternative-usage
2424 */
2525var testsContext = ( require as any ) . context ( '.' , true , / .t e s t $ / ) ;
26- testsContext . keys ( ) . forEach ( testsContext ) ;
26+ var browserTests = testsContext
27+ . keys ( )
28+ . filter ( file => file . indexOf ( '/node/' ) < 0 ) ;
29+ browserTests . forEach ( testsContext ) ;
Original file line number Diff line number Diff line change @@ -23,4 +23,7 @@ import '../../src/platform_browser/browser_init';
2323 * https://github.com/webpack-contrib/karma-webpack#alternative-usage
2424 */
2525var testsContext = ( require as any ) . context ( '.' , true , / .t e s t $ / ) ;
26- testsContext . keys ( ) . forEach ( testsContext ) ;
26+ var browserTests = testsContext
27+ . keys ( )
28+ . filter ( file => file . indexOf ( '/node/' ) < 0 ) ;
29+ browserTests . forEach ( testsContext ) ;
You can’t perform that action at this time.
0 commit comments