File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,18 @@ module.exports = function ( config ) {
35
35
port : 9876 ,
36
36
37
37
logLevel : config . LOG_INFO ,
38
- browsers : [ 'PhantomJS' ]
38
+ browsers : [ 'ChromeHeadless' ] ,
39
+ customLaunchers : {
40
+ ChromeHeadless : {
41
+ base : 'Chrome' ,
42
+ flags : [
43
+ '--no-sandbox' ,
44
+ '--headless' ,
45
+ '--disable-gpu' ,
46
+ '--disable-dev-shm-usage' ,
47
+ '--disable-software-rasterizer'
48
+ ]
49
+ }
50
+ }
39
51
} ) ;
40
52
} ;
Original file line number Diff line number Diff line change 38
38
"eslint-plugin-mediawiki" : " ^0.2.1" ,
39
39
"karma" : " ^1.7.1" ,
40
40
"karma-cli" : " ^1.0.1" ,
41
- "karma-phantomjs -launcher" : " ^1.0.4 " ,
41
+ "karma-chrome -launcher" : " ^3. 1.0" ,
42
42
"karma-qunit" : " ^1.2.1" ,
43
43
"karma-webpack" : " ^4.0.2" ,
44
44
"qunit" : " ^1.0.0" ,
You can’t perform that action at this time.
0 commit comments