Skip to content

Commit 4fd7064

Browse files
style(doctor): format linger mock
1 parent fc733f4 commit 4fd7064

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

‎src/flows/doctor-health-contributions.test.ts‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,10 @@ const mocks = vi.hoisted(() => ({
171171
formatCliCommand: vi.fn((cmd: string) => cmd),
172172
isSystemdUserServiceAvailable: vi.fn(async () => true),
173173
readSystemdUserLingerStatus: vi.fn(
174-
async (
175-
_params: { env: Record<string, string | undefined>; user?: string },
176-
): Promise<{ user: string; linger: "yes" | "no" } | null> => ({
174+
async (_params: {
175+
env: Record<string, string | undefined>;
176+
user?: string;
177+
}): Promise<{ user: string; linger: "yes" | "no" } | null> => ({
177178
user: "alice",
178179
linger: "no",
179180
}),

0 commit comments

Comments
 (0)