mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 05:01:23 +00:00
test(core): reduce reset overhead in messaging and agent e2e mocks
This commit is contained in:
@@ -64,7 +64,7 @@ beforeEach(async () => {
|
||||
process.env.DISCORD_BOT_TOKEN = "";
|
||||
testConfig = {};
|
||||
await setRegistry(createTestRegistry([]));
|
||||
callGatewayMock.mockReset();
|
||||
callGatewayMock.mockClear();
|
||||
webAuthExists.mockClear().mockResolvedValue(false);
|
||||
handleDiscordAction.mockClear();
|
||||
handleSlackAction.mockClear();
|
||||
|
||||
Reference in New Issue
Block a user