test(commands): use lightweight clears in config snapshot specs

This commit is contained in:
Peter Steinberger
2026-02-22 08:26:11 +00:00
parent b014c70292
commit ed38b50fa5
4 changed files with 4 additions and 4 deletions

View File

@@ -12,7 +12,7 @@ describe("channelsAddCommand", () => {
});
beforeEach(async () => {
configMocks.readConfigFileSnapshot.mockReset();
configMocks.readConfigFileSnapshot.mockClear();
configMocks.writeConfigFile.mockClear();
offsetMocks.deleteTelegramUpdateOffset.mockClear();
runtime.log.mockClear();