summaryrefslogtreecommitdiff
path: root/cli/tests/workers_round_robin_bench.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/workers_round_robin_bench.ts')
-rw-r--r--cli/tests/workers_round_robin_bench.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tests/workers_round_robin_bench.ts b/cli/tests/workers_round_robin_bench.ts
index d7224b41d..90ebb0364 100644
--- a/cli/tests/workers_round_robin_bench.ts
+++ b/cli/tests/workers_round_robin_bench.ts
@@ -25,7 +25,7 @@ export function createResolvable<T>(): Resolvable<T> {
function handleAsyncMsgFromWorker(
promiseTable: Map<number, Resolvable<string>>,
- msg: { cmdId: number; data: string }
+ msg: { cmdId: number; data: string },
): void {
const promise = promiseTable.get(msg.cmdId);
if (promise === null) {
@@ -39,7 +39,7 @@ async function main(): Promise<void> {
for (let i = 1; i <= workerCount; ++i) {
const worker = new Worker(
new URL("subdir/bench_worker.ts", import.meta.url).href,
- { type: "module" }
+ { type: "module" },
);
const promise = createResolvable<void>();
worker.onmessage = (e): void => {