File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed
Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change 11process . env . TEST = true ;
2- process . env . NODE_ENV = ' test' ;
2+ process . env . NODE_ENV = " test" ;
33
4- const webpack = require ( "webpack" ) ;
5- const path = require ( "path" ) ;
6- const webpackConfig = require ( './webpack.config.js' ) ( { production : false , karma : true } ) ;
4+ const webpackConfig = require ( "./webpack.config.js" ) ( { production : false , karma : true } ) ;
75
86delete webpackConfig . entry ;
97
10- module . exports = function ( config ) {
8+ module . exports = config => {
119
1210 var configuration = {
1311 basePath : "" ,
@@ -20,7 +18,7 @@ module.exports = function(config) {
2018 files : [
2119 "./test/**/**/**.test.ts" ,
2220 {
23- pattern : ' **/*.map' ,
21+ pattern : " **/*.map" ,
2422 served : true ,
2523 included : false ,
2624 watched : true
@@ -65,14 +63,14 @@ module.exports = function(config) {
6563 colors : true ,
6664 logLevel : config . LOG_INFO ,
6765 autoWatch : true ,
68- browsers : [ 'Chrome' ]
66+ browsers : [ ]
6967 } ;
7068
7169 if ( process . env . TRAVIS ) {
72- configuration . browsers = [ ' PhantomJS' ] ;
70+ configuration . browsers . push ( " PhantomJS" ) ;
7371 configuration . plugins . push ( "karma-phantomjs-launcher" ) ;
7472 } else {
75- configuration . browsers = [ ' PhantomJS' ] ;
73+ configuration . browsers . push ( " PhantomJS" ) ;
7674 configuration . plugins . push ( "karma-phantomjs-launcher" ) ;
7775 }
7876
You can’t perform that action at this time.
0 commit comments