mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-12 17:51:22 +00:00
test: fix after-tool-call event mock
This commit is contained in:
@@ -84,6 +84,7 @@ async function loadFreshAfterToolCallModulesForTest() {
|
||||
getGlobalHookRunner: () => hookMocks.runner,
|
||||
}));
|
||||
vi.doMock("../infra/agent-events.js", () => ({
|
||||
emitAgentCommandOutputEvent: vi.fn(),
|
||||
emitAgentEvent: vi.fn(),
|
||||
emitAgentItemEvent: vi.fn(),
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user