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

Function expected

test/parallel/test-runner-mock-timers.js:298–298  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

296 const now = Date.now();
297 const timeout = 2;
298 const expected = () => now - timeout;
299 globalThis.setTimeout(common.mustCall(() => {
300 assert.strictEqual(now - timeout, expected());
301 done();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…