mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 08:47:40 +00:00
test(core): reduce reset overhead in messaging and agent e2e mocks
This commit is contained in:
@@ -76,7 +76,7 @@ describe("resolveDiscordTarget", () => {
|
||||
const listPeers = vi.mocked(listDiscordDirectoryPeersLive);
|
||||
|
||||
beforeEach(() => {
|
||||
listPeers.mockReset();
|
||||
listPeers.mockClear();
|
||||
});
|
||||
|
||||
it("returns a resolved user for usernames", async () => {
|
||||
|
||||
Reference in New Issue
Block a user