mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-22 18:35:21 -06:00
test(acp): preserve lifecycle wrapper in dispatch harness
This commit is contained in:
@@ -589,6 +589,7 @@ vi.mock("../../infra/agent-events.js", () => ({
|
||||
isAgentEventLifecycleGenerationCurrent: (generation: string) => generation === "test-generation",
|
||||
onAgentEvent: (listener: unknown) => agentEventMocks.onAgentEvent(listener),
|
||||
registerAgentEventLifecycleRotationHandler: vi.fn(),
|
||||
withAgentRunLifecycleGeneration: <T>(_: string, run: () => T): T => run(),
|
||||
}));
|
||||
vi.mock("../../plugins/conversation-binding.js", () => ({
|
||||
buildPluginBindingDeclinedText: () => "Plugin binding request was declined.",
|
||||
|
||||
Reference in New Issue
Block a user