diff --git a/mocha/mocha.d.ts b/mocha/mocha.d.ts index 5304f9333a..e512984ba4 100644 --- a/mocha/mocha.d.ts +++ b/mocha/mocha.d.ts @@ -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; }