Skip to content

Commit 4544593

Browse files
RBrNxUlisesGascon
authored andcommitted
test: replace forEach with for of
PR-URL: #50594 Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 96143a3 commit 4544593

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
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)