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

Method removeUncheckedKeys

packages/jest-snapshot/src/State.ts:189–195  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

187 }
188
189 removeUncheckedKeys(): void {
190 if (this._updateSnapshot === 'all' && this._uncheckedKeys.size > 0) {
191 this._dirty = true;
192 for (const key of this._uncheckedKeys) delete this._snapshotData[key];
193 this._uncheckedKeys.clear();
194 }
195 }
196
197 match({
198 testName,

Callers 2

_addSnapshotDataFunction · 0.80
addSnapshotDataFunction · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected