Skip to content

Commit 9f5860f

Browse files
StiffWriter00UlisesGascon
authored andcommitted
test: replace forEach to for at test-webcrypto-sign-verify-ecdsa.js
PR-URL: #50795 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Marco Ippolito <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent e873f1b commit 9f5860f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎test/parallel/test-webcrypto-sign-verify-ecdsa.js‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,10 +227,11 @@ async function testSign({name,
227227
(asyncfunction(){
228228
constvariations=[];
229229

230-
vectors.forEach((vector)=>{
230+
for(leti=0;i<vectors.length;++i){
231+
constvector=vectors[i];
231232
variations.push(testVerify(vector));
232233
variations.push(testSign(vector));
233-
});
234+
}
234235

235236
awaitPromise.all(variations);
236237
})().then(common.mustCall());

0 commit comments

Comments
(0)