MCPcopy
hub / github.com/jestjs/jest / onRunComplete

Method onRunComplete

packages/jest-core/src/ReporterDispatcher.ts:97–106  ·  view source on GitHub ↗
(
    testContexts: Set<TestContext>,
    results: AggregatedResult,
  )

Source from the content-addressed store, hash-verified

95 }
96
97 async onRunComplete(
98 testContexts: Set<TestContext>,
99 results: AggregatedResult,
100 ): Promise<void> {
101 for (const reporter of this._reporters) {
102 if (reporter.onRunComplete) {
103 await reporter.onRunComplete(testContexts, results);
104 }
105 }
106 }
107
108 // Return a list of last errors for every reporter
109 getErrors(): Array<Error> {

Callers 2

scheduleTestsMethod · 0.45
_bailIfNeededMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected