We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb61702 commit 8b87509Copy full SHA for 8b87509
packages/jest-reporters/src/types.ts
@@ -42,7 +42,7 @@ export interface Reporter {
42
test: Test,
43
testCaseResult: TestCaseResult,
44
) => Promise<void> | void;
45
- readonly onRunStart: (
+ readonly onRunStart?: (
46
results: AggregatedResult,
47
options: ReporterOnStartOptions,
48
@@ -52,7 +52,7 @@ export interface Reporter {
52
testContexts: Set<TestContext>,
53
54
55
- readonly getLastError: () => Error | void;
+ readonly getLastError?: () => Error | void;
56
}
57
58
export type ReporterContext = {
0 commit comments