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

Function run

test/parallel/test-http-expect-continue-reuse-race.js:63–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61 const { port } = server.address();
62
63 async function run() {
64 try {
65 for (let i = 0; i < REQUEST_COUNT; i++) {
66 await sendRequest(port);
67 }
68 } finally {
69 agent.destroy();
70 server.close();
71 }
72 }
73
74 run().then(common.mustCall());
75}));

Calls 3

sendRequestFunction · 0.70
closeMethod · 0.65
destroyMethod · 0.45

Tested by

no test coverage detected