diff --git a/test/parallel/test-webcrypto-sign-verify-hmac.js b/test/parallel/test-webcrypto-sign-verify-hmac.js index 00b742dbfea5d1..5c2d8e6cd770ff 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());