Skip to content

Commit

Permalink
test: Replaced forEach with for..of in test-http-perf_hooks.js
Browse files Browse the repository at this point in the history
  • Loading branch information
niyashiyas committed Sep 24, 2023
1 parent 3d808d9 commit 060184c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-http-perf_hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ process.on('exit', () => {
assert.strictEqual(typeof entry.detail.res.statusCode, 'number');
assert.strictEqual(typeof entry.detail.res.statusMessage, 'string');
assert.strictEqual(typeof entry.detail.res.headers, 'object');
};
}
assert.strictEqual(numberOfHttpClients, 2);
assert.strictEqual(numberOfHttpRequests, 2);
});

0 comments on commit 060184c

Please sign in to comment.