Skip to content

Commit cfaad3d

Browse files
test(*): update karma chrome headless config
travis-ci/docs-travis-ci-com#1671
1 parent 7c46271 commit cfaad3d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

karma.conf.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,10 @@ module.exports = function(config) {
7777

7878
// Start these browsers, currently available:
7979
// Chrome, ChromeCanary, Firefox, Opera, Safari, PhantomJS
80-
browsers: ['ChromeHeadless'],
80+
browsers: ['ChromeHeadlessNoSandbox'],
81+
customLaunchers: {
82+
ChromeHeadlessNoSandbox: { base: 'ChromeHeadless', flags: ['--no-sandbox'] }
83+
},
8184

8285
frameworks: ['jasmine'],
8386

0 commit comments

Comments
 (0)