mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 08:41:23 +00:00
test(core): reduce mock reset overhead across unit and e2e specs
This commit is contained in:
@@ -42,7 +42,7 @@ describe("emitSubagentEndedHookOnce", () => {
|
||||
};
|
||||
|
||||
beforeEach(() => {
|
||||
lifecycleMocks.getGlobalHookRunner.mockReset();
|
||||
lifecycleMocks.getGlobalHookRunner.mockClear();
|
||||
lifecycleMocks.runSubagentEnded.mockClear();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user