From e47fd7152b42c6d49311dff020d796533571c171 Mon Sep 17 00:00:00 2001 From: Ashwin Ramaswamy Date: Fri, 1 Nov 2013 16:33:04 -0400 Subject: [PATCH] mocha's run callback is optional --- mocha/mocha.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;