Skip to content

Commit c410207

Browse files
committed
style: format daemon lifecycle test
1 parent 95dee89 commit c410207

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

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

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,17 @@ 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 = 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-
>();
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+
>();
4950
const isRestartEnabled = vi.fn<(config?: { commands?: unknown }) => boolean>(() => true);
5051
const loadConfig = vi.fn(() => ({}));
5152

0 commit comments

Comments
 (0)