diff --git a/karma.conf.js b/karma.conf.js index cc84120..1802990 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -26,12 +26,23 @@ module.exports = function (config) { reporters: ["progress", "mocha"], - browsers: ["ChromeHeadless", "PhantomJS"], + browsers: ["CustomChromeHeadless", "PhantomJS"], mochaReporter: { output: 'minimal' }, + customLaunchers: { + 'CustomChromeHeadless': { + base: 'ChromeHeadless', + flags: [ + '--no-sandbox', + '--disable-setuid-sandbox' + ], + debug: true + } + }, + logLevel: config.LOG_INFO, autoWatch: true, singleRun: false