diff --git a/Gruntfile.js b/Gruntfile.js index 9d0d84a83..367fa59f8 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -28,7 +28,13 @@ module.exports = function(grunt) { karma: { options: { singleRun: true, - browsers: process.env.CI ? ['ChromeHeadless'] : ['Chrome'] + browsers: process.env.CI ? ['ChromeHeadlessNoSandbox'] : ['Chrome'], + customLaunchers: { + ChromeHeadlessNoSandbox: { + base: 'ChromeHeadless', + flags: ['--no-sandbox'] + } + } }, test: { configFile: './test/karma.conf.js',