MCPcopy Index your code
hub / github.com/nodejs/node / mock

Method mock

lib/internal/test_runner/test.js:361–364  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

359 }
360
361 get mock() {
362 this.#test.mock ??= new MockTracker();
363 return this.#test.mock;
364 }
365
366 runOnly(value) {
367 this.#test.runOnlySubtests = !!value;

Callers 3

mockCheckFunction · 0.80
audit.jsFile · 0.80
tmockFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected