(api: SlashCommandContext["api"])
| 813 | |
| 814 | describe("processSlashCommand - model-set", () => { |
| 815 | const createModelSetContext = (api: SlashCommandContext["api"]): SlashCommandContext => |
| 816 | createSlashCommandContext({ |
| 817 | api, |
| 818 | onMessageSent: mock(() => undefined), |
| 819 | onCheckReviews: mock(() => undefined), |
| 820 | attachedReviewIds: [], |
| 821 | openSettings: mock(() => undefined), |
| 822 | }); |
| 823 | |
| 824 | test("reports backend verification failure for custom providers when config loading fails", async () => { |
| 825 | const getConfig = mock(() => Promise.reject(new Error("backend offline"))); |
no test coverage detected