From a35268328b067583559e728b99d8df8d91cd62d8 Mon Sep 17 00:00:00 2001 From: Niya Shiyas Date: Sun, 24 Sep 2023 15:25:53 +0530 Subject: [PATCH] test: Replaced forEach with for..of in test-http2-server-shutdown-options-errors.js --- test/parallel/test-http2-server-shutdown-options-errors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-http2-server-shutdown-options-errors.js b/test/parallel/test-http2-server-shutdown-options-errors.js index cf1861ce772f423..5a2ca62a6c8e311 100644 --- a/test/parallel/test-http2-server-shutdown-options-errors.js +++ b/test/parallel/test-http2-server-shutdown-options-errors.js @@ -48,7 +48,7 @@ server.on('stream', common.mustCall((stream) => { `TypedArray, or DataView.${received}` } ); - }; + } stream.session.destroy(); }));