mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
23 lines
792 B
TypeScript
23 lines
792 B
TypeScript
// Type definitions for karma-mocha 1.3
|
|
// Project: https://github.com/karma-runner/karma-mocha#readme
|
|
// Definitions by: Piotr Błażejewicz (Peter Blazejewicz) <https://github.com/peterblazejewicz>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 3.2
|
|
|
|
import 'karma';
|
|
|
|
declare module 'karma' {
|
|
interface ClientOptions {
|
|
mocha?: MochaClientOptions;
|
|
}
|
|
|
|
interface MochaClientOptions {
|
|
/** This will be exposed in a reporter as `result.mocha.{exportedValue}` */
|
|
export?: string[];
|
|
/** You can set opts to equal true then plugin will load opts from default location 'test/mocha.opts' */
|
|
opts?: true | string;
|
|
/** any supported Mocha configuration options */
|
|
[key: string]: any;
|
|
}
|
|
}
|