Skip to content

Commit

Permalink
feat(karma): Added PhantomJS support.
Browse files Browse the repository at this point in the history
Change the Karma browsers config and install PhantomJS by running 'npm
install --save-dev phantomjs' and seting the PHANTOMJS_BIN environment
variable.
  • Loading branch information
Rick Huizinga authored and Josh David Miller committed Sep 13, 2013
1 parent 99b5075 commit 89acf5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion karma/karma-unit.tpl.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module.exports = function ( karma ) {
'src/assets/**/*.js'
],
frameworks: [ 'jasmine' ],
plugins: [ 'karma-jasmine', 'karma-firefox-launcher', 'karma-chrome-launcher', 'karma-coffee-preprocessor' ],
plugins: [ 'karma-jasmine', 'karma-firefox-launcher', 'karma-chrome-launcher', 'karma-phantomjs-launcher', 'karma-coffee-preprocessor' ],
preprocessors: {
'**/*.coffee': 'coffee',
},
Expand Down

0 comments on commit 89acf5f

Please sign in to comment.