mocha's run callback is optional

This commit is contained in:
Ashwin Ramaswamy
2013-11-01 16:33:04 -04:00
parent 4157d2bf00
commit e47fd7152b
+1 -1
View File
@@ -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;