Skip to content

Commit

Permalink
Upgrade karma firefox to use FirefoxHeadless (Hacker0x01#1543)
Browse files Browse the repository at this point in the history
* Upgrade Karma Firefox Launcher

* Switching to Headless
  • Loading branch information
martijnrusschen authored Nov 17, 2018
1 parent f0d4c56 commit 19d1454
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ node_js:
before_install:
- npm i -g npm@latest

# Needed for Karma test runner
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
# install:
# - yarn install
script:
Expand Down
2 changes: 1 addition & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = function(config) {
config.set({
frameworks: ["mocha", "sinon", "chai"],

browsers: ["Firefox"],
browsers: ["FirefoxHeadless"],

singleRun: CONTINUOUS_INTEGRATION,

Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3887,8 +3887,8 @@ karma-coverage@^1.1.1:
source-map "^0.5.1"

karma-firefox-launcher@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/karma-firefox-launcher/-/karma-firefox-launcher-1.0.1.tgz#ce58f47c2013a88156d55a5d61337c099cf5bb51"
version "1.1.0"
resolved "https://registry.yarnpkg.com/karma-firefox-launcher/-/karma-firefox-launcher-1.1.0.tgz#2c47030452f04531eb7d13d4fc7669630bb93339"

karma-mocha@^1.3.0:
version "1.3.0"
Expand Down

0 comments on commit 19d1454

Please sign in to comment.