webogram-i2p/node_modules/karma-firefox-launcher
2014-01-05 20:07:11 +04:00
..
index.js Initial import 2014-01-05 20:07:11 +04:00
index.js.orig Initial import 2014-01-05 20:07:11 +04:00
LICENSE Initial import 2014-01-05 20:07:11 +04:00
package.json Initial import 2014-01-05 20:07:11 +04:00
README.md Initial import 2014-01-05 20:07:11 +04:00

karma-firefox-launcher

Launcher for Mozilla Firefox.

Installation

The easiest way is to keep karma-firefox-launcher as a devDependency in your package.json.

{
  "devDependencies": {
    "karma": "~0.10",
    "karma-firefox-launcher": "~0.1"
  }
}

You can simple do it by:

npm install karma-firefox-launcher --save-dev

Configuration

// karma.conf.js
module.exports = function(config) {
  config.set({
    browsers: ['Firefox', 'FirefoxAurora', 'FirefoxNightly'],
  });
};

You can pass list of browsers as a CLI argument too:

karma start --browsers Firefox,Chrome

For more information on Karma see the homepage.