Skip to content

Commit abdfa1a

Browse files
committed
test: format daemon lifecycle test
1 parent b45412b commit abdfa1a

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

src/cli/daemon-cli/lifecycle.test.ts

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,16 @@ const renderGatewayPortHealthDiagnostics = vi.fn(() => ["diag: unhealthy port"])
3636
const renderRestartDiagnostics = vi.fn(() => ["diag: unhealthy runtime"]);
3737
const resolveGatewayPort = vi.fn(() => 18789);
3838
const findGatewayPidsOnPortSync = vi.fn<(port: number) => number[]>(() => []);
39-
const probeGateway =
40-
vi.fn<
41-
(opts: {
42-
url: string;
43-
auth?: { token?: string; password?: string };
44-
timeoutMs: number;
45-
}) => Promise<{
46-
ok: boolean;
47-
configSnapshot: unknown;
48-
}>
49-
>();
39+
const probeGateway = vi.fn<
40+
(opts: {
41+
url: string;
42+
auth?: { token?: string; password?: string };
43+
timeoutMs: number;
44+
}) => Promise<{
45+
ok: boolean;
46+
configSnapshot: unknown;
47+
}>
48+
>();
5049
const isRestartEnabled = vi.fn<(config?: { commands?: unknown }) => boolean>(() => true);
5150
const loadConfig = vi.fn(() => ({}));
5251

0 commit comments

Comments
 (0)