mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 13:07:39 +00:00
chore: Fix types in tests 17/N.
This commit is contained in:
@@ -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", () => {
|
||||
|
||||
Reference in New Issue
Block a user