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

Function runTest

test/parallel/test-inspector-stress-http.js:19–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17}
18
19async function runTest() {
20 const child = new NodeInstance(undefined, '');
21
22 const promises = [];
23 for (let i = 0; i < 100; i++) {
24 promises.push(testHttp(child, i));
25 }
26 const result = await Promise.all(promises);
27 assert(!result.some((a) => !a), 'Some attempts failed');
28 return child.kill();
29}
30
31runTest().then(common.mustCall());

Callers 1

Calls 6

killMethod · 0.95
allMethod · 0.80
someMethod · 0.80
testHttpFunction · 0.70
assertFunction · 0.50
pushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…