From 3ca80bd914c43366adb0608feeadb930e072d0ec Mon Sep 17 00:00:00 2001
From: RBrNx <conor.watson94@gmail.com>
Date: Tue, 7 Nov 2023 14:56:36 +0000
Subject: [PATCH] test: replace forEach with for of

---
 test/parallel/test-webcrypto-sign-verify-hmac.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/parallel/test-webcrypto-sign-verify-hmac.js b/test/parallel/test-webcrypto-sign-verify-hmac.js
index 00b742dbfea5d1..72cf81bb0d61c2 100644
--- a/test/parallel/test-webcrypto-sign-verify-hmac.js
+++ b/test/parallel/test-webcrypto-sign-verify-hmac.js
@@ -172,10 +172,10 @@ async function testSign({ hash,
 (async function() {
   const variations = [];
 
-  vectors.forEach((vector) => {
+  for(const vector of vectors){
     variations.push(testVerify(vector));
     variations.push(testSign(vector));
-  });
+  }
 
   await Promise.all(variations);
 })().then(common.mustCall());