mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-12 15:30:39 +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}`,
|
||||
}));
|
||||
getPluginCommandSpecs.mockReturnValue(specs);
|
||||
matchPluginCommand.mockReset();
|
||||
executePluginCommand.mockReset();
|
||||
deliverReplies.mockReset();
|
||||
|
||||
const handlers: Record<string, (ctx: unknown) => Promise<void>> = {};
|
||||
const setMyCommands = vi.fn().mockResolvedValue(undefined);
|
||||
|
||||
Reference in New Issue
Block a user