mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
mocha's run callback is optional
This commit is contained in:
1 parent
4157d2bf00
commit
e47fd7152b
1 file changed
+1
-1
Vendored
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user