style: applied biome formatting to merged changes

This commit is contained in:
can1357
2026-08-05 01:15:59 +02:00
parent 6baaeec785
commit ece9245a0a
2 changed files with 6 additions and 6 deletions
@@ -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);
}
@@ -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<boolean> {
const holderProcesses: Array<Subprocess<"ignore", "pipe", "pipe">> = [];
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,