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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user