From fd5c5d0f386c44059ac19975b66c24baca2343e1 Mon Sep 17 00:00:00 2001 From: ashwinr Date: Mon, 19 Aug 2013 16:01:33 -0400 Subject: [PATCH] update mocha definitions --- mocha/mocha.d.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/mocha/mocha.d.ts b/mocha/mocha.d.ts index f9d8040b1..717d080dc 100644 --- a/mocha/mocha.d.ts +++ b/mocha/mocha.d.ts @@ -3,6 +3,17 @@ // Definitions by: Kazi Manzur Rashid // 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;