mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 14:54:31 +00:00
test(core): trim redundant mock resets in heartbeat suites
This commit is contained in:
@@ -39,8 +39,8 @@ describe("resolveWhatsAppHeartbeatRecipients", () => {
|
||||
}
|
||||
|
||||
beforeEach(() => {
|
||||
vi.mocked(loadSessionStore).mockReset();
|
||||
vi.mocked(readChannelAllowFromStoreSync).mockReset();
|
||||
vi.mocked(loadSessionStore).mockClear();
|
||||
vi.mocked(readChannelAllowFromStoreSync).mockClear();
|
||||
setAllowFromStore([]);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user