File tree Expand file tree Collapse file tree 3 files changed +23
-7
lines changed
Expand file tree Collapse file tree 3 files changed +23
-7
lines changed Original file line number Diff line number Diff line change 11language : node_js
2+ dist : trusty
3+ sudo : required
24node_js :
35- ' 8'
46before_install :
Original file line number Diff line number Diff line change @@ -24,8 +24,15 @@ module.exports = function (config) {
2424 port : 9876 ,
2525 colors : true ,
2626 logLevel : config . LOG_INFO ,
27- autoWatch : true ,
28- browsers : [ 'Chrome' ] ,
29- singleRun : false
27+ autoWatch : false ,
28+ browsers : [ 'ChromeHeadless' ] ,
29+ // you can define custom flags
30+ customLaunchers : {
31+ ChromeHeadlessNoSandbox : {
32+ base : 'ChromeHeadless' ,
33+ flags : [ '--no-sandbox' ]
34+ }
35+ } ,
36+ singleRun : true
3037 } ) ;
3138} ;
Original file line number Diff line number Diff line change @@ -24,8 +24,15 @@ module.exports = function (config) {
2424 port : 9876 ,
2525 colors : true ,
2626 logLevel : config . LOG_INFO ,
27- autoWatch : true ,
28- browsers : [ 'Chrome' ] ,
29- singleRun : false
27+ autoWatch : false ,
28+ browsers : [ 'ChromeHeadless' ] ,
29+ // you can define custom flags
30+ customLaunchers : {
31+ ChromeHeadlessNoSandbox : {
32+ base : 'ChromeHeadless' ,
33+ flags : [ '--no-sandbox' ]
34+ }
35+ } ,
36+ singleRun : true
3037 } ) ;
31- } ;
38+ } ;
You can’t perform that action at this time.
0 commit comments