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

Method cancel

packages/jest-jasmine2/src/jasmine/Spec.ts:219–223  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

217 }
218
219 cancel() {
220 if (this.currentRun) {
221 this.currentRun.cancel();
222 }
223 }
224
225 onException(error: ExpectationFailed | AssertionErrorWithStack) {
226 if (Spec.isPendingSpecException(error)) {

Callers 2

uncaughtMethod · 0.45
sl.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected