diff options
| author | David Sherret <dsherret@users.noreply.github.com> | 2020-07-14 15:24:17 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-14 15:24:17 -0400 |
| commit | cde4dbb35132848ffece59ef9cfaccff32347124 (patch) | |
| tree | cc7830968c6decde704c8cfb83c9185193dc698f /cli/tests/workers_round_robin_bench.ts | |
| parent | 9eca71caa1674c31f9cc5d4e86c03f10b59e0a00 (diff) | |
Use dprint for internal formatting (#6682)
Diffstat (limited to 'cli/tests/workers_round_robin_bench.ts')
| -rw-r--r-- | cli/tests/workers_round_robin_bench.ts | 4 |
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 => { |
