Skip to content

Commit

Permalink
use firefox to replace phantom to run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
camsong committed Dec 4, 2015
1 parent db4e16f commit 19c822c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Expand Up @@ -2,6 +2,9 @@ language: node_js
node_js:
- "5"
- "4"
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
script:
- npm run lint
- npm test
2 changes: 1 addition & 1 deletion karma.conf.js
Expand Up @@ -77,7 +77,7 @@ module.exports = function(config) {

// start these browsers
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
browsers: ['PhantomJS'],
browsers: ['Firefox'],

// Continuous Integration mode
// if true, Karma captures browsers, runs the tests and exits
Expand Down
3 changes: 1 addition & 2 deletions package.json
Expand Up @@ -41,12 +41,11 @@
"istanbul-instrumenter-loader": "^0.1.3",
"karma": "^0.13.15",
"karma-coverage": "^0.5.3",
"karma-firefox-launcher": "^0.1.7",
"karma-mocha": "^0.2.1",
"karma-phantomjs-launcher": "^0.2.1",
"karma-sourcemap-loader": "^0.3.6",
"karma-webpack": "^1.7.0",
"mocha": "^2.3.4",
"phantomjs": "^1.9.18",
"webpack": "^1.12.8"
},
"license": "MIT"
Expand Down

0 comments on commit 19c822c

Please sign in to comment.