fix karma.conf

This commit is contained in:
Jordan Baczuk 2019-09-25 16:25:32 -06:00
parent ad39c5d117
commit ee2518544c
2 changed files with 4 additions and 10 deletions

View File

@ -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

View File

@ -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