We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42c37f2 commit 2fe511bCopy full SHA for 2fe511b
test/parallel/test-net-perf_hooks.js
@@ -49,12 +49,12 @@ obs.observe({ type: 'net' });
49
50
process.on('exit', () => {
51
assert.strictEqual(entries.length, 1);
52
- entries.forEach((entry) => {
+ for (const entry of entries) {
53
assert.strictEqual(entry.name, 'connect');
54
assert.strictEqual(entry.entryType, 'net');
55
assert.strictEqual(typeof entry.startTime, 'number');
56
assert.strictEqual(typeof entry.duration, 'number');
57
assert.strictEqual(!!entry.detail.host, true);
58
assert.strictEqual(!!entry.detail.port, true);
59
- });
+ }
60
});
0 commit comments