Skip to content

Commit 4d28ced

Browse files
SpaceDuxUlisesGascon
authored andcommitted
test: replace forEach with for...of
PR-URL: #50611 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 97778e2 commit 4d28ced

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-fs-mkdtemp-prefix-check.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function failAsync(value) {
2727
});
2828
}
2929

30-
prefixValues.forEach((prefixValue) => {
30+
for (const prefixValue of prefixValues) {
3131
fail(prefixValue);
3232
failAsync(prefixValue);
33-
});
33+
}

0 commit comments

Comments
 (0)