Permalink
Browse files

Added the missing before and after hook.

  • Loading branch information...
1 parent 080b90d commit c8ac9402421110a27ac4a3e5387ea5f968c4c031 @kazimanzurrashid kazimanzurrashid committed Apr 6, 2013
Showing with 10 additions and 1 deletion.
  1. +10 −1 mocha/mocha.d.ts
View
11 mocha/mocha.d.ts
@@ -15,10 +15,19 @@ declare var it: {
timeout(ms: number);
};
+declare function before(action: () => void): void;
+
+declare function before(action: (done: () => void) => void): void;
+
+declare function aftet(action: () => void): void;
+
+declare function after(action: (done: () => void) => void): void;
+
declare function beforeEach(action: () => void): void;
declare function beforeEach(action: (done: () => void) => void): void;
declare function afterEach(action: () => void): void;
-declare function afterEach(action: (done: () => void) => void): void;
+declare function afterEach(action: (done: () => void) => void): void;
+

0 comments on commit c8ac940

Please sign in to comment.