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

Function test

test/parallel/test-http-set-timeout-server.js:31–35  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

29const tests = [];
30
31function test(fn) {
32 if (!tests.length)
33 process.nextTick(run);
34 tests.push(common.mustCall(fn));
35}
36
37function run() {
38 const fn = tests.shift();

Callers 1

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…