Skip to content

Commit

Permalink
test: use headless version of browsers for testing
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Peveler <[email protected]>
  • Loading branch information
MasterOdin committed Mar 14, 2020
1 parent 7aa07d7 commit c351769
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ addons:
install:
- npm install

before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start

script:
- npm run lint
- npm test
Expand Down
2 changes: 1 addition & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module.exports = function(config) {

autoWatch: true,

browsers: ['Firefox', 'Chrome'],
browsers: ['FirefoxHeadless', 'ChromeHeadless'],

singleRun: false,

Expand Down

0 comments on commit c351769

Please sign in to comment.