File tree Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change 29
29
return Promise . all ( promises )
30
30
. then ( function ( ) {
31
31
console . log ( 'Download complete.' ) ;
32
+ } )
33
+ . catch ( function ( err ) {
34
+ console . error ( 'Unable to download browsers and Geckodriver.' , err ) ;
35
+ process . exit ( 1 ) ;
32
36
} ) ;
33
37
} ) ( ) ;
Original file line number Diff line number Diff line change 55
55
return Promise . resolve ( ) ;
56
56
}
57
57
58
- if ( browser . getSeleniumBrowserId ( ) === 'firefox' &&
59
- process . platform === 'darwin' &&
60
- process . env . TRAVIS === 'true' ) {
61
- console . log ( '' ) ;
62
- console . warn ( chalk . red (
63
- 'Running on Travis OS X so skipping firefox tests as ' +
64
- 'they don\'t currently work.'
65
- ) ) ;
66
- console . log ( '' ) ;
67
- return Promise . resolve ( ) ;
68
- }
69
-
70
58
return createServer ( options , webPush )
71
59
. then ( function ( server ) {
72
60
globalServer = server ;
You can’t perform that action at this time.
0 commit comments