[mocha] Add global run function (#12136)

This commit is contained in:
Stefan Dobrev
2016-10-28 17:15:24 +03:00
committed by Masahiro Wakame
parent 45c5bcd854
commit 7155ef2d2d

3
mocha/mocha.d.ts vendored
View File

@@ -42,6 +42,9 @@ declare var xit: Mocha.ITestDefinition;
declare var test: Mocha.ITestDefinition;
declare var specify: Mocha.ITestDefinition;
// Used with the --delay flag; see https://mochajs.org/#hooks
declare function run(): void;
interface MochaDone {
(error?: any): any;
}