style(gateway): satisfy biome

This commit is contained in:
Peter Steinberger
2025-12-17 23:12:45 +01:00
parent 3ed33c5856
commit 0844fa38a8
2 changed files with 6 additions and 4 deletions

View File

@@ -2078,7 +2078,11 @@ describe("gateway server", () => {
test("chat.abort returns aborted=false for unknown runId", async () => {
const dir = await fs.mkdtemp(path.join(os.tmpdir(), "clawdis-gw-"));
testSessionStorePath = path.join(dir, "sessions.json");
await fs.writeFile(testSessionStorePath, JSON.stringify({}, null, 2), "utf-8");
await fs.writeFile(
testSessionStorePath,
JSON.stringify({}, null, 2),
"utf-8",
);
const { server, ws } = await startServerWithClient();
await connectOk(ws);

View File

@@ -540,9 +540,7 @@ async function refreshHealthSnapshot(_opts?: { probe?: boolean }) {
return healthRefresh;
}
export async function startGatewayServer(
port = 18789,
): Promise<GatewayServer> {
export async function startGatewayServer(port = 18789): Promise<GatewayServer> {
const host = "127.0.0.1";
const httpServer: HttpServer = createHttpServer();
let bonjourStop: (() => Promise<void>) | null = null;