Skip to content

Commit

Permalink
fix karma.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
JBaczuk committed Sep 25, 2019
1 parent ad39c5d commit ee25185
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,16 @@ node_js:
sudo: false
addons:
firefox: "latest"
chrome: stable
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- build-essential
env:
- CXX=g++
services:
- xvfb
notifications:
email:
on_success: never
11 changes: 1 addition & 10 deletions karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
process.env.CHROME_BIN = "chromium-browser";

module.exports = function(config) {
config.set({

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ee25185

Please sign in to comment.