mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-26 20:35:39 -06:00
test(agents): isolate lifecycle registry persistence
This commit is contained in:
@@ -186,6 +186,9 @@ describe("subagent registry lifecycle error grace", () => {
|
||||
loadAgentRuntimePluginRegistryHandle: () => undefined,
|
||||
onAgentEvent:
|
||||
onAgentEventMock as unknown as typeof import("../infra/agent-events.js").onAgentEvent,
|
||||
persistSubagentRunsToDisk: noop,
|
||||
persistSubagentRunsToDiskOrThrow: noop,
|
||||
restoreSubagentRunsFromDisk: () => 0,
|
||||
});
|
||||
subagentAnnounceTesting.setDepsForTest({
|
||||
callGateway: callGatewayMock as typeof import("../gateway/call.js").callGateway,
|
||||
|
||||
Reference in New Issue
Block a user