test(coding-agent): align ctx fixtures with settled-component cache and todo commit-on-execute
- Added transcriptMessageComponents to every InteractiveMode ctx test literal; #6033's reuse cache made the field required and addMessageToChat populates it unconditionally. - Wired setTodoPhases into the eager-todo ToolSession fixture to mirror sdk.ts; the test relied on the stale message_end todo replay #6148 removed.
This commit is contained in:
@@ -775,6 +775,7 @@ function createEventControllerFixture() {
|
||||
updateEditorTopBorder: vi.fn(),
|
||||
addMessageToChat,
|
||||
updatePendingMessagesDisplay,
|
||||
transcriptMessageComponents: new WeakMap(),
|
||||
pendingTools: new Map(),
|
||||
session: {},
|
||||
get viewSession() {
|
||||
|
||||
Reference in New Issue
Block a user