Skip to content

Commit 2434808

Browse files
committed
test: fix auth profile save mock typing
1 parent 7832513 commit 2434808

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/agents/auth-profiles.store.save.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ import {
1414
} from "./auth-profiles/store.js";
1515
import type { AuthProfileStore } from "./auth-profiles/types.js";
1616

17-
const listRuntimeExternalAuthProfilesMock = vi.hoisted(() => vi.fn(() => []));
17+
const listRuntimeExternalAuthProfilesMock = vi.hoisted(() =>
18+
vi.fn<(_params: unknown) => unknown[]>(() => []),
19+
);
1820

1921
vi.mock("./auth-profiles/external-auth.js", () => ({
2022
listRuntimeExternalAuthProfiles: listRuntimeExternalAuthProfilesMock,

0 commit comments

Comments
 (0)