test(commands): use lightweight clears in agents/channels setup

This commit is contained in:
Peter Steinberger
2026-02-22 08:02:03 +00:00
parent d559f226b3
commit 0ae7f962f9
2 changed files with 3 additions and 3 deletions

View File

@@ -31,9 +31,9 @@ describe("channels command", () => {
});
beforeEach(() => {
configMocks.readConfigFileSnapshot.mockReset();
configMocks.readConfigFileSnapshot.mockClear();
configMocks.writeConfigFile.mockClear();
authMocks.loadAuthProfileStore.mockReset();
authMocks.loadAuthProfileStore.mockClear();
offsetMocks.deleteTelegramUpdateOffset.mockClear();
runtime.log.mockClear();
runtime.error.mockClear();