File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- /*jshint node:true*/
2- module . exports = {
3- "framework" : "qunit" ,
4- "test_page" : "tests/index.html?hidepassed" ,
5- "disable_watching" : true ,
6- "launch_in_ci" : [
7- "Chrome"
1+ let options = {
2+ test_page : 'tests/index.html?hidepassed' ,
3+ disable_watching : true ,
4+ launch_in_ci : [
5+ 'Chrome'
86 ] ,
9- "launch_in_dev" : [
10- "PhantomJS" ,
11- "Chrome"
12- ] ,
13- "browser_args" : {
14- "Chrome" : [
15- "--disable-gpu" ,
16- "--no-sandbox"
17- ]
18- }
7+ launch_in_dev : [
8+ 'Chrome'
9+ ]
1910} ;
11+
12+ if ( process . env . TRAVIS ) {
13+ options . browser_args = {
14+ Chrome : [
15+ // --no-sandbox is needed when running Chrome inside a container
16+ '--no-sandbox' ,
17+ '--disable-gpu' ,
18+ '--headless' ,
19+ '--remote-debugging-port=0' ,
20+ '--window-size=1440,900'
21+ ] . filter ( Boolean )
22+ } ;
23+ }
24+
25+ module . exports = options ;
You can’t perform that action at this time.
0 commit comments