summaryrefslogtreecommitdiff
path: root/tests/workers_round_robin_bench.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/workers_round_robin_bench.ts')
-rw-r--r--tests/workers_round_robin_bench.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/workers_round_robin_bench.ts b/tests/workers_round_robin_bench.ts
index 308ed05d4..7c34e75e5 100644
--- a/tests/workers_round_robin_bench.ts
+++ b/tests/workers_round_robin_bench.ts
@@ -38,7 +38,7 @@ function handleAsyncMsgFromWorker(
async function main(): Promise<void> {
const workers: Array<[Map<number, Resolvable<string>>, Worker]> = [];
- for (var i = 1; i <= workerCount; ++i) {
+ for (let i = 1; i <= workerCount; ++i) {
const worker = new Worker("./subdir/bench_worker.ts");
const promise = new Promise(
(resolve): void => {