diff --git a/src/auto-reply/reply/directive-handling.model.test.ts b/src/auto-reply/reply/directive-handling.model.test.ts index a67073ae8e9..d663b398b87 100644 --- a/src/auto-reply/reply/directive-handling.model.test.ts +++ b/src/auto-reply/reply/directive-handling.model.test.ts @@ -12,6 +12,10 @@ vi.mock("../../agents/auth-profiles.js", () => ({ profiles: authProfilesStoreMock.profiles, }), isProfileInCooldown: () => false, + listProfilesForProvider: (_store: unknown, provider: string) => + Object.entries(authProfilesStoreMock.profiles) + .filter(([, profile]) => profile.provider === provider) + .map(([profileId, profile]) => ({ profileId, profile })), replaceRuntimeAuthProfileStoreSnapshots: ( snapshots: Array<{ store?: { profiles?: Record };