Skip to content

Commit

Permalink
test: Replace .forEach with for...const
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceDux committed Nov 7, 2023
1 parent 5e3217c commit a74fb49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-fs-mkdtemp-prefix-check.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function failAsync(value) {
});
}

prefixValues.forEach((prefixValue) => {
for (const prefixValue of prefixValues) {
fail(prefixValue);
failAsync(prefixValue);
});
}

0 comments on commit a74fb49

Please sign in to comment.