mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
Changes Jest type to use array rather than Set.
Set may be technically stricter but as per #19662, there have been a number of associated problems with this.
This commit is contained in:
Vendored
+1
-1
@@ -1050,7 +1050,7 @@ declare namespace jest {
|
||||
onTestResult?(test: Test, testResult: TestResult, aggregatedResult: AggregatedResult): void;
|
||||
onRunStart?(results: AggregatedResult, options: ReporterOnStartOptions): void;
|
||||
onTestStart?(test: Test): void;
|
||||
onRunComplete?(contexts: Set<Context>, results: AggregatedResult): Maybe<Promise<void>>;
|
||||
onRunComplete?(contexts: [Context], results: AggregatedResult): Maybe<Promise<void>>;
|
||||
getLastError?(): Maybe<Error>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user