diff --git a/packages/coding-agent/test/modes/controllers/event-controller-loader-recovery.test.ts b/packages/coding-agent/test/modes/controllers/event-controller-loader-recovery.test.ts index b5e1b1109..305636c22 100644 --- a/packages/coding-agent/test/modes/controllers/event-controller-loader-recovery.test.ts +++ b/packages/coding-agent/test/modes/controllers/event-controller-loader-recovery.test.ts @@ -96,7 +96,7 @@ function createContext(options: { terminalProgress?: boolean } = {}) { } const AGENT_START = { type: "agent_start" } as unknown as AgentSessionEvent; -const AGENT_END = { type: "agent_end" } as unknown as AgentSessionEvent; +const AGENT_END = { type: "agent_end", messages: [] } as unknown as AgentSessionEvent; const COMPACTION_START = { type: "auto_compaction_start", reason: "overflow",