1 | import "karma";
|
2 |
|
3 | declare module "karma" {
|
4 | interface ClientOptions {
|
5 | mocha?: MochaClientOptions | undefined;
|
6 | }
|
7 |
|
8 | interface MochaClientOptions {
|
9 | /** This will be exposed in a reporter as `result.mocha.{exportedValue}` */
|
10 | export?: string[] | undefined;
|
11 | /** You can set opts to equal true then plugin will load opts from default location 'test/mocha.opts' */
|
12 | opts?: true | string | undefined;
|
13 | /** any supported Mocha configuration options */
|
14 | [key: string]: any;
|
15 | }
|
16 | }
|