mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-12 11:37:49 +00:00
test: fix after-tool-call event mock
This commit is contained in:
parent
c3fd7fbbe7
commit
aee1f0b453
1 changed files with 1 additions and 0 deletions
|
|
@ -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(),
|
||||
}));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue