MCPcopy Create free account
hub / github.com/nodejs/node / resetAccesses

Method resetAccesses

lib/internal/test_runner/mock/mock.js:400–402  ·  view source on GitHub ↗

* Resets the recorded accesses to the property.

()

Source from the content-addressed store, hash-verified

398 * Resets the recorded accesses to the property.
399 */
400 resetAccesses() {
401 this.#accesses = [];
402 }
403
404 /**
405 * Restores the original value of the property that was mocked.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected