1 | // Type definitions for karma-chrome-launcher 3.1
|
2 | // Project: https://github.com/karma-runner/karma-chrome-launcher#readme
|
3 | // Definitions by: Piotr Błażejewicz (Peter Blazejewicz) <https://github.com/peterblazejewicz>
|
4 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
5 | // TypeScript Version: 3.2
|
6 |
|
7 | import 'karma';
|
8 |
|
9 | declare module 'karma' {
|
10 | interface CustomLauncher {
|
11 | /**
|
12 | * The `--user-data-dir` is set to a temporary directory,
|
13 | * but can be overridden on a custom launcher as shown below.
|
14 | * One reason to do this is to have a permanent Chrome user data directory inside the project directory
|
15 | * to be able to install plugins there (e.g. JetBrains IDE Support plugin).
|
16 | */
|
17 | chromeDataDir?: string | undefined;
|
18 | }
|
19 | }
|