fix karma.conf
This commit is contained in:
parent
ad39c5d117
commit
ee2518544c
|
@ -5,6 +5,7 @@ node_js:
|
|||
sudo: false
|
||||
addons:
|
||||
firefox: "latest"
|
||||
chrome: stable
|
||||
apt:
|
||||
sources:
|
||||
- ubuntu-toolchain-r-test
|
||||
|
@ -12,6 +13,8 @@ addons:
|
|||
- build-essential
|
||||
env:
|
||||
- CXX=g++
|
||||
services:
|
||||
- xvfb
|
||||
notifications:
|
||||
email:
|
||||
on_success: never
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
process.env.CHROME_BIN = "chromium-browser";
|
||||
|
||||
module.exports = function(config) {
|
||||
config.set({
|
||||
|
||||
|
@ -55,14 +53,7 @@ module.exports = function(config) {
|
|||
|
||||
// start these browsers
|
||||
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
|
||||
browsers: ["Chromium", "Firefox"],
|
||||
customLaunchers: {
|
||||
Chromium: {
|
||||
base: "Chrome",
|
||||
flags: ["--no-sandbox"],
|
||||
},
|
||||
},
|
||||
|
||||
browsers: ["Chrome", "Firefox"],
|
||||
|
||||
// Continuous Integration mode
|
||||
// if true, Karma captures browsers, runs the tests and exits
|
||||
|
|
Loading…
Reference in New Issue
Block a user