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

Method isPendingSpecException

packages/jest-jasmine2/src/jasmine/Spec.ts:102–108  ·  view source on GitHub ↗
(e: Error)

Source from the content-addressed store, hash-verified

100 static pendingSpecExceptionMessage: string;
101
102 static isPendingSpecException(e: Error) {
103 return !!(
104 e &&
105 e.toString &&
106 e.toString().includes(Spec.pendingSpecExceptionMessage)
107 );
108 }
109
110 constructor(attrs: Attributes) {
111 this.resultCallback = attrs.resultCallback || function () {};

Callers 2

asyncJestTestFunction · 0.80
onExceptionMethod · 0.80

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected