Make Karma run tests without sandboxing.
@@ -17,7 +17,7 @@ module.exports = function(config) {
// Available browser launchers:
// https://npmjs.org/browse/keyword/karma-launcher
- browsers: ['Chrome'],
+ browsers: ['ChromeNoSandbox'],
// Available reporters:
// https://npmjs.org/browse/keyword/karma-reporter
@@ -53,6 +53,13 @@ module.exports = function(config) {
prependPrefix: '/',
},
+ customLaunchers: {
+ ChromeNoSandbox: {
+ base: 'Chrome',
+ flags: ['--no-sandbox'],
+ },
+ },
+
// Possible values:
// LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO || LOG_DEBUG
logLevel: config.LOG_INFO,
