mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-17 07:20:23 +00:00
mocha: reporter() method takes optional second parameter (#23026)
This commit is contained in:
Vendored
+2
-2
@@ -86,9 +86,9 @@ declare class Mocha {
|
||||
bail(value?: boolean): Mocha;
|
||||
addFile(file: string): Mocha;
|
||||
/** Sets reporter by name, defaults to "spec". */
|
||||
reporter(name: string): Mocha;
|
||||
reporter(name: string, reporterOptions?: any): Mocha;
|
||||
/** Sets reporter constructor, defaults to mocha.reporters.Spec. */
|
||||
reporter(reporter: ReporterConstructor): Mocha;
|
||||
reporter(reporter: ReporterConstructor, reporterOptions?: any): Mocha;
|
||||
ui(value: string): Mocha;
|
||||
grep(value: string): Mocha;
|
||||
grep(value: RegExp): Mocha;
|
||||
|
||||
Reference in New Issue
Block a user