Skip to content

Commit

Permalink
Added the missing before and after hook.
Browse files Browse the repository at this point in the history
  • Loading branch information
kazimanzurrashid committed Apr 6, 2013
1 parent 080b90d commit c8ac940
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion mocha/mocha.d.ts
Expand Up @@ -15,10 +15,19 @@ declare var it: {
timeout(ms: number); 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: () => void): void;


declare function beforeEach(action: (done: () => void) => void): void; declare function beforeEach(action: (done: () => void) => void): void;


declare function afterEach(action: () => 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.