1 | # Installation
|
2 | > `npm install --save @types/karma-chrome-launcher`
|
3 |
|
4 | # Summary
|
5 | This package contains type definitions for karma-chrome-launcher (https://github.com/karma-runner/karma-chrome-launcher#readme).
|
6 |
|
7 | # Details
|
8 | Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/karma-chrome-launcher.
|
9 | ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/karma-chrome-launcher/index.d.ts)
|
10 | ````ts
|
11 | // Type definitions for karma-chrome-launcher 3.1
|
12 | // Project: https://github.com/karma-runner/karma-chrome-launcher#readme
|
13 | // Definitions by: Piotr Błażejewicz (Peter Blazejewicz) <https://github.com/peterblazejewicz>
|
14 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
15 | // TypeScript Version: 3.2
|
16 |
|
17 | import 'karma';
|
18 |
|
19 | declare module 'karma' {
|
20 | interface CustomLauncher {
|
21 | /**
|
22 | * The `--user-data-dir` is set to a temporary directory,
|
23 | * but can be overridden on a custom launcher as shown below.
|
24 | * One reason to do this is to have a permanent Chrome user data directory inside the project directory
|
25 | * to be able to install plugins there (e.g. JetBrains IDE Support plugin).
|
26 | */
|
27 | chromeDataDir?: string | undefined;
|
28 | }
|
29 | }
|
30 |
|
31 | ````
|
32 |
|
33 | ### Additional Details
|
34 | * Last updated: Tue, 06 Jul 2021 22:02:34 GMT
|
35 | * Dependencies: [@types/karma](https://npmjs.com/package/@types/karma)
|
36 | * Global values: none
|
37 |
|
38 | # Credits
|
39 | These definitions were written by [Piotr Błażejewicz (Peter Blazejewicz)](https://github.com/peterblazejewicz).
|
40 |
|
\ | No newline at end of file |