From 6ab9f877cff04d5f1487c160f00a8d7b914ddea9 Mon Sep 17 00:00:00 2001 From: Niya Shiyas Date: Sun, 24 Sep 2023 15:22:20 +0530 Subject: [PATCH] test: replace forEach with for..of in test-http-perf_hooks.js --- test/parallel/test-http-perf_hooks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-http-perf_hooks.js b/test/parallel/test-http-perf_hooks.js index 7c6132f4632140..2ed1a736fa8841 100644 --- a/test/parallel/test-http-perf_hooks.js +++ b/test/parallel/test-http-perf_hooks.js @@ -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); });