webogram-i2p/node_modules/karma-firefox-launcher/README.md
2014-01-05 20:07:11 +04:00

43 lines
730 B
Markdown

# karma-firefox-launcher
> Launcher for Mozilla Firefox.
## Installation
The easiest way is to keep `karma-firefox-launcher` as a devDependency in your `package.json`.
```json
{
"devDependencies": {
"karma": "~0.10",
"karma-firefox-launcher": "~0.1"
}
}
```
You can simple do it by:
```bash
npm install karma-firefox-launcher --save-dev
```
## Configuration
```js
// karma.conf.js
module.exports = function(config) {
config.set({
browsers: ['Firefox', 'FirefoxAurora', 'FirefoxNightly'],
});
};
```
You can pass list of browsers as a CLI argument too:
```bash
karma start --browsers Firefox,Chrome
```
----
For more information on Karma see the [homepage].
[homepage]: http://karma-runner.github.com