Define a custom karma launcher - Chromium with --no-sandbox flag
This commit is contained in:
parent
c535cf7cb7
commit
d7084961f1
|
@ -53,7 +53,14 @@ module.exports = function(config) {
|
||||||
|
|
||||||
// start these browsers
|
// start these browsers
|
||||||
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
|
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
|
||||||
browsers: ["Chrome", "Firefox"],
|
browsers: ["Chromium", "Firefox"],
|
||||||
|
|
||||||
|
customLaunchers: {
|
||||||
|
Chromium: {
|
||||||
|
base: "Chrome",
|
||||||
|
flags: ["--no-sandbox"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
// Continuous Integration mode
|
// Continuous Integration mode
|
||||||
// if true, Karma captures browsers, runs the tests and exits
|
// if true, Karma captures browsers, runs the tests and exits
|
||||||
|
|
Loading…
Reference in New Issue
Block a user