Created
November 28, 2012 19:49
-
-
Save muratg/4163650 to your computer and use it in GitHub Desktop.
TypeScript declarations (typings) file for Mocha JavaScript testing framework
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// mocha.d.ts | |
// | |
// Mocha (c) 2011-2012 TJ Holowaychuk <tj@vision-media.ca> | |
// | |
// Hand written by Murat Girgin | |
// based on http://visionmedia.github.com/mocha/ | |
// | |
declare var describe: { | |
(testDescription: string, f: Function): any; | |
only(testDescription: string, f: Function): any; | |
skip(testDescription: string, f: Function): any; | |
}; | |
declare var it: { | |
(testDescription: string, f?: Function, done?: Function): any; | |
only(testDescription: string, f?: Function, done?: Function): any; | |
skip(testDescription: string, f?: Function, done?: Function): any; | |
}; | |
declare function before(f: Function, done?: Function): any; | |
declare function after(f: Function, done?: Function): any; | |
declare function beforeEach(f: Function, done?: Function): any; | |
declare function afterEach(f: Function, done?: Function): any; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment