Skip to content

Commit 3ca80bd

Browse files
committed
test: replace forEach with for of
1 parent 5e3217c commit 3ca80bd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/parallel/test-webcrypto-sign-verify-hmac.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,10 @@ async function testSign({ hash,
172172
(async function() {
173173
const variations = [];
174174

175-
vectors.forEach((vector) => {
175+
for(const vector of vectors){
176176
variations.push(testVerify(vector));
177177
variations.push(testSign(vector));
178-
});
178+
}
179179

180180
await Promise.all(variations);
181181
})().then(common.mustCall());

0 commit comments

Comments
 (0)