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

Method delete

packages/jest-reporters/src/Status.ts:51–56  ·  view source on GitHub ↗
(testPath: string)

Source from the content-addressed store, hash-verified

49 }
50
51 delete(testPath: string) {
52 const record = this._array.find(
53 record => record !== null && record.testPath === testPath,
54 );
55 this._array[this._array.indexOf(record || null)] = null;
56 }
57
58 get() {
59 return this._array;

Callers 15

eventHandlerFunction · 0.80
destroyFunction · 0.80
_fakeClearTimerMethod · 0.80
_runTimerHandleMethod · 0.80
makeGlobalConfigFunction · 0.80
makeProjectConfigFunction · 0.80
deletePropertyMethod · 0.80
deleteCjsMethod · 0.80
clearMutexMethod · 0.80
requireModuleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected