mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
update mocha definitions
This commit is contained in:
11
mocha/mocha.d.ts
vendored
11
mocha/mocha.d.ts
vendored
@@ -3,6 +3,17 @@
|
||||
// Definitions by: Kazi Manzur Rashid <https://github.com/kazimanzurrashid/>
|
||||
// DefinitelyTyped: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
interface Mocha {
|
||||
setup(options: MochaSetupOptions);
|
||||
run(callback: () => void);
|
||||
}
|
||||
|
||||
interface MochaSetupOptions {
|
||||
slow: number;
|
||||
timeout: number;
|
||||
ui: string;
|
||||
}
|
||||
|
||||
declare var describe : {
|
||||
(description: string, spec: () => void): void;
|
||||
only(description: string, spec: () => void): void;
|
||||
|
||||
Reference in New Issue
Block a user