Bug:Fix file validation issue
[vnfsdk/refrepo.git] / vnfmarket / src / main / webapp / vnfmarket / node_modules / karma-chrome-launcher / README.md
1 # karma-chrome-launcher
2
3 > Launcher for Google Chrome and Google Chrome Canary.
4
5 ## Installation
6
7 The easiest way is to keep `karma-chrome-launcher` as a devDependency in your `package.json`.
8 ```json
9 {
10   "devDependencies": {
11     "karma": "~0.10",
12     "karma-chrome-launcher": "~0.1"
13   }
14 }
15 ```
16
17 You can simple do it by:
18 ```bash
19 npm install karma-chrome-launcher --save-dev
20 ```
21
22 ## Configuration
23 ```js
24 // karma.conf.js
25 module.exports = function(config) {
26   config.set({
27     browsers: ['Chrome', 'Chrome_without_security'],
28
29     // you can define custom flags
30     customLaunchers: {
31       Chrome_without_security: {
32         base: 'Chrome',
33         flags: ['--disable-web-security']
34       }
35     }
36   });
37 };
38 ```
39
40 You can pass list of browsers as a CLI argument too:
41 ```bash
42 karma start --browsers Chrome,Chrome_without_security
43 ```
44
45 ----
46
47 For more information on Karma see the [homepage].
48
49
50 [homepage]: http://karma-runner.github.com