mirror of https://github.com/openclaw/openclaw.git
test: fix after-tool-call event mock
This commit is contained in:
parent
c3fd7fbbe7
commit
aee1f0b453
|
|
@ -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…
Reference in New Issue