UNPKG

887 BTypeScriptView Raw
1// Type definitions for karma-firefox-launcher 2.1
2// Project: https://github.com/karma-runner/karma-firefox-launcher#readme
3// Definitions by: Piotr Błażejewicz <https://github.com/peterblazejewicz>
4// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
5// TypeScript Version: 3.2
6import 'karma';
7
8declare module 'karma' {
9 interface CustomLauncher {
10 /**
11 * configure preferences for the Firefox instance that is loaded
12 */
13 prefs?: {
14 [name: string]: any;
15 } | undefined;
16 /**
17 * extensions that you want loaded into the browser on startup
18 */
19 extensions?: string[] | undefined;
20
21 /**
22 * custom launcher name
23 */
24 name?: string | undefined;
25
26 /**
27 * location of the Firefox executable
28 */
29 command?: string | undefined;
30 }
31}