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

Method _cleanup

packages/jest-haste-map/src/index.ts:723–731  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

721 }
722
723 private _cleanup() {
724 const worker = this._worker;
725
726 if (worker && 'end' in worker) {
727 worker.end();
728 }
729
730 this._worker = null;
731 }
732
733 /**
734 * 4. serialize the new `HasteMap` in a cache file.

Callers 2

_buildHasteMapMethod · 0.95
onChangeMethod · 0.95

Calls 1

endMethod · 0.65

Tested by

no test coverage detected