diff --git a/mocha/mocha.d.ts b/mocha/mocha.d.ts index cd4a06e46..5ea4237fc 100644 --- a/mocha/mocha.d.ts +++ b/mocha/mocha.d.ts @@ -8,7 +8,7 @@ interface Mocha { setup(options: MochaSetupOptions): Mocha; //Run tests and invoke `fn()` when complete. - run(callback: () => void): void; + run(callback?: () => void): void; // Set reporter as function reporter(reporter: () => void): Mocha;