mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-19 07:37:27 +00:00
test(hooks): use lightweight clears for gmail watcher log spies
This commit is contained in:
@@ -19,9 +19,9 @@ describe("startGmailWatcherWithLogs", () => {
|
|||||||
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
startGmailWatcherMock.mockReset();
|
startGmailWatcherMock.mockReset();
|
||||||
log.info.mockReset();
|
log.info.mockClear();
|
||||||
log.warn.mockReset();
|
log.warn.mockClear();
|
||||||
log.error.mockReset();
|
log.error.mockClear();
|
||||||
delete process.env.OPENCLAW_SKIP_GMAIL_WATCHER;
|
delete process.env.OPENCLAW_SKIP_GMAIL_WATCHER;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user