From ece9245a0a5010311d602eb9bbb4c79755dbe06b Mon Sep 17 00:00:00 2001 From: can1357 Date: Wed, 5 Aug 2026 01:15:59 +0200 Subject: [PATCH] style: applied biome formatting to merged changes --- packages/coding-agent/test/session-paths.test.ts | 5 ++++- packages/stats/test/server-port-conflict.test.ts | 7 ++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/coding-agent/test/session-paths.test.ts b/packages/coding-agent/test/session-paths.test.ts index 4ad9609b5..f437f5851 100644 --- a/packages/coding-agent/test/session-paths.test.ts +++ b/packages/coding-agent/test/session-paths.test.ts @@ -14,7 +14,10 @@ function makeTempDir(prefix: string): string { } function legacySessionDir(sessionsRoot: string, cwd: string): string { - const name = `--${path.resolve(cwd).replace(/^[/\\]/, "").replace(/[/\\:]/g, "-")}--`; + const name = `--${path + .resolve(cwd) + .replace(/^[/\\]/, "") + .replace(/[/\\:]/g, "-")}--`; return path.join(sessionsRoot, name); } diff --git a/packages/stats/test/server-port-conflict.test.ts b/packages/stats/test/server-port-conflict.test.ts index 7715b7bb2..d5d99bd13 100644 --- a/packages/stats/test/server-port-conflict.test.ts +++ b/packages/stats/test/server-port-conflict.test.ts @@ -1,5 +1,5 @@ -import { networkInterfaces } from "node:os"; import { afterEach, describe, expect, it } from "bun:test"; +import { networkInterfaces } from "node:os"; import { connect, type Subprocess } from "bun"; import { STATS_DASHBOARD_HEADER, @@ -25,10 +25,7 @@ async function tcpConnects(hostname: string, port: number): Promise { const holderProcesses: Array> = []; -async function startBunHolder( - responseExpr: string, - options?: { hostname?: string; statsOwned?: boolean }, -) { +async function startBunHolder(responseExpr: string, options?: { hostname?: string; statsOwned?: boolean }) { const hostname = options?.hostname ?? STATS_DASHBOARD_HOSTNAME; const reservation = Bun.serve({ port: 0,