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

Function test

test/parallel/test-http-server-keep-alive-timeout.js:9–14  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

7const tests = [];
8
9function test(fn) {
10 if (!tests.length) {
11 process.nextTick(run);
12 }
13 tests.push(fn);
14}
15
16function run() {
17 const fn = tests.shift();

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…