Skip to content

Commit

Permalink
chore: try fix chrome headless on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanHotsiy committed Jan 21, 2018
1 parent 5925431 commit e6e1be0
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ module.exports = function(config) {
{ pattern: 'tests/schemas/**/*.json', included: false },
{ pattern: 'tests/schemas/**/*.yml', included: false },
{ pattern: 'lib/**/*.html', included: false },
{ pattern: 'lib/**/*.css', included: false },
],

proxies: {
Expand All @@ -46,7 +45,13 @@ module.exports = function(config) {
? ['mocha', 'coverage', 'remap-coverage', 'coveralls']
: ['mocha', 'coverage', 'remap-coverage'],

browsers: ['ChromeHeadless'],
browsers: ['ChromeHeadlessNoSandbox'],
customLaunchers: {
ChromeHeadlessNoSandbox: {
base: 'ChromeHeadless',
flags: ['--no-sandbox']
}
},

browserNoActivityTimeout: 60000,
});
Expand Down

0 comments on commit e6e1be0

Please sign in to comment.