Skip to content

Commit 7bccc66

Browse files
committed
test(cli): type systemd hint mock
1 parent 1531ebc commit 7bccc66

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/cli/daemon-cli/status.print.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const resolveControlUiLinksMock = vi.hoisted(() =>
1010
vi.fn((_opts?: unknown) => ({ httpUrl: "http://127.0.0.1:18789" })),
1111
);
1212
const isSystemdUnavailableDetailMock = vi.hoisted(() => vi.fn(() => false));
13-
const renderSystemdUnavailableHintsMock = vi.hoisted(() => vi.fn(() => []));
13+
const renderSystemdUnavailableHintsMock = vi.hoisted(() => vi.fn<() => string[]>(() => []));
1414

1515
vi.mock("../../runtime.js", () => ({
1616
defaultRuntime: runtime,

0 commit comments

Comments
 (0)