test(hooks): use lightweight clears for gmail watcher log spies

This commit is contained in:
Peter Steinberger
2026-02-22 00:27:30 +00:00
parent 856b5aca2c
commit 076c5ebaef

View File

@@ -19,9 +19,9 @@ describe("startGmailWatcherWithLogs", () => {
beforeEach(() => {
startGmailWatcherMock.mockReset();
log.info.mockReset();
log.warn.mockReset();
log.error.mockReset();
log.info.mockClear();
log.warn.mockClear();
log.error.mockClear();
delete process.env.OPENCLAW_SKIP_GMAIL_WATCHER;
});