chore: Fix types in tests 17/N.

This commit is contained in:
cpojer
2026-02-17 11:59:41 +09:00
parent 7bc783cb03
commit 43c97d18aa
6 changed files with 66 additions and 39 deletions

View File

@@ -20,12 +20,12 @@ vi.mock("grammy", async (importOriginal) => {
const actual = await importOriginal<typeof import("grammy")>();
return {
...actual,
webhookCallback: (...args: unknown[]) => webhookCallbackSpy(...args),
webhookCallback: webhookCallbackSpy,
};
});
vi.mock("./bot.js", () => ({
createTelegramBot: (...args: unknown[]) => createTelegramBotSpy(...args),
createTelegramBot: createTelegramBotSpy,
}));
describe("startTelegramWebhook", () => {