Skip to content

Commit

Permalink
test: replace 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 30, 2023
1 parent 5d8f74c commit 6ab9f87
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 6ab9f87

Please sign in to comment.