docs: Match browser name with custom launcher name (#39480)

The browser being launched needs to match the custom launcher name.
Otherwise Karma would still trigger the original Chrome executable without the flags.

PR Close #39480
This commit is contained in:
Shadab Ansari 2020-10-29 01:51:09 +05:30 committed by Joey Perrott
parent dd0ba3f4ab
commit 75bfc400cd
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ We'll be using [Headless Chrome](https://developers.google.com/web/updates/2017/
* In the Karma configuration file, `karma.conf.js`, add a custom launcher called ChromeHeadlessCI below browsers:
```
browsers: ['Chrome'],
browsers: ['ChromeHeadlessCI'],
customLaunchers: {
ChromeHeadlessCI: {
base: 'ChromeHeadless',