1 | # Installation
|
2 | > `npm install --save @types/karma-firefox-launcher`
|
3 |
|
4 | # Summary
|
5 | This package contains type definitions for karma-firefox-launcher (https://github.com/karma-runner/karma-firefox-launcher#readme).
|
6 |
|
7 | # Details
|
8 | Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/karma-firefox-launcher.
|
9 | ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/karma-firefox-launcher/index.d.ts)
|
10 | ````ts
|
11 | // Type definitions for karma-firefox-launcher 2.1
|
12 | // Project: https://github.com/karma-runner/karma-firefox-launcher#readme
|
13 | // Definitions by: Piotr Błażejewicz <https://github.com/peterblazejewicz>
|
14 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
15 | // TypeScript Version: 3.2
|
16 | import 'karma';
|
17 |
|
18 | declare module 'karma' {
|
19 | interface CustomLauncher {
|
20 | /**
|
21 | * configure preferences for the Firefox instance that is loaded
|
22 | */
|
23 | prefs?: {
|
24 | [name: string]: any;
|
25 | } | undefined;
|
26 | /**
|
27 | * extensions that you want loaded into the browser on startup
|
28 | */
|
29 | extensions?: string[] | undefined;
|
30 |
|
31 | /**
|
32 | * custom launcher name
|
33 | */
|
34 | name?: string | undefined;
|
35 |
|
36 | /**
|
37 | * location of the Firefox executable
|
38 | */
|
39 | command?: string | undefined;
|
40 | }
|
41 | }
|
42 |
|
43 | ````
|
44 |
|
45 | ### Additional Details
|
46 | * Last updated: Thu, 08 Jul 2021 16:23:06 GMT
|
47 | * Dependencies: [@types/karma](https://npmjs.com/package/@types/karma)
|
48 | * Global values: none
|
49 |
|
50 | # Credits
|
51 | These definitions were written by [Piotr Błażejewicz](https://github.com/peterblazejewicz).
|
52 |
|
\ | No newline at end of file |