mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 15:38:25 +00:00
test(core): reduce mock reset overhead across unit and e2e specs
This commit is contained in:
@@ -19,7 +19,7 @@ const { clearInternalHooks, createInternalHookEvent, registerInternalHook, trigg
|
||||
|
||||
describe("boot-md startup hook integration", () => {
|
||||
beforeEach(() => {
|
||||
runBootOnce.mockReset();
|
||||
runBootOnce.mockClear();
|
||||
clearInternalHooks();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user