mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 15:04:33 +00:00
test(telegram): drop redundant plugin auth mock resets
This commit is contained in:
@@ -29,9 +29,6 @@ describe("registerTelegramNativeCommands (plugin auth)", () => {
|
|||||||
description: `Command ${i}`,
|
description: `Command ${i}`,
|
||||||
}));
|
}));
|
||||||
getPluginCommandSpecs.mockReturnValue(specs);
|
getPluginCommandSpecs.mockReturnValue(specs);
|
||||||
matchPluginCommand.mockReset();
|
|
||||||
executePluginCommand.mockReset();
|
|
||||||
deliverReplies.mockReset();
|
|
||||||
|
|
||||||
const handlers: Record<string, (ctx: unknown) => Promise<void>> = {};
|
const handlers: Record<string, (ctx: unknown) => Promise<void>> = {};
|
||||||
const setMyCommands = vi.fn().mockResolvedValue(undefined);
|
const setMyCommands = vi.fn().mockResolvedValue(undefined);
|
||||||
|
|||||||
Reference in New Issue
Block a user