Karma: use PhantomJS instead of Chrome

Chrome cannot be specified as a dependency and installed automatically,
but PhantomJS can. Most Linux distros use Chromium instead of Chrome, which Karma
does not recognize.
This commit is contained in:
Dan Ross
2014-10-24 17:25:31 +03:00
parent 7451109d2a
commit d926e77dca
2 changed files with 3 additions and 4 deletions

View File

@@ -63,7 +63,7 @@ module.exports = function(config) {
// start these browsers
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
//browsers: ['Chrome', 'Firefox', 'PhantomJS'],
browsers: ['Chrome'],
browsers: ['PhantomJS'],
// Continuous Integration mode