File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,6 @@ cache:
13
13
directories :
14
14
- node_modules
15
15
16
- before_script :
17
- - " sudo chown root /opt/google/chrome/chrome-sandbox"
18
- - " sudo chmod 4755 /opt/google/chrome/chrome-sandbox"
19
-
20
16
script :
21
17
- npm run-script test-node
22
18
- if [[ $(node --version) != v4* ]] ; then npm run-script test-browser; fi
Original file line number Diff line number Diff line change @@ -39,9 +39,6 @@ const onwarn = warning => {
39
39
40
40
rollupConfig . onwarn = onwarn ;
41
41
42
- // Karma configuration
43
- // Generated on Thu Jun 28 2018 14:24:01 GMT-0400 (EDT)
44
-
45
42
module . exports = function ( config ) {
46
43
config . set ( {
47
44
basePath : '' ,
@@ -56,7 +53,13 @@ module.exports = function(config) {
56
53
colors : true ,
57
54
logLevel : config . LOG_INFO ,
58
55
autoWatch : true ,
59
- browsers : [ 'ChromeHeadless' ] ,
56
+ browsers : [ 'ChromeHeadlessNoSandbox' ] ,
57
+ customLaunchers : {
58
+ ChromeHeadlessNoSandbox : {
59
+ base : 'ChromeHeadless' ,
60
+ flags : [ '--no-sandbox' ]
61
+ }
62
+ } ,
60
63
singleRun : true ,
61
64
concurrency : Infinity
62
65
} ) ;
You can’t perform that action at this time.
0 commit comments