Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6ab9f87

Browse files
committedSep 30, 2023
test: replace forEach with for..of in test-http-perf_hooks.js
1 parent 5d8f74c commit 6ab9f87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎test/parallel/test-http-perf_hooks.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ process.on('exit', () => {
7272
assert.strictEqual(typeof entry.detail.res.statusCode, 'number');
7373
assert.strictEqual(typeof entry.detail.res.statusMessage, 'string');
7474
assert.strictEqual(typeof entry.detail.res.headers, 'object');
75-
};
75+
}
7676
assert.strictEqual(numberOfHttpClients, 2);
7777
assert.strictEqual(numberOfHttpRequests, 2);
7878
});

0 commit comments

Comments
 (0)
Please sign in to comment.