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

Method getLastError

packages/jest-reporters/src/BaseReporter.ts:58–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56 // Return an error that occurred during reporting. This error will
57 // define whether the test run was successful or failed.
58 getLastError(): Error | undefined {
59 return this._error;
60 }
61
62 protected __beginSynchronizedUpdate(write: WriteStream['write']): void {
63 if (isInteractive) {

Callers 2

getErrorsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected