test(coding-agent): updated fixtures with missing ui and context mocks
- Added `setEagerNativeScrollbackRebuild` mock to `ui` objects in test fixtures. - Added `pendingTools` map to context fixtures missing it.
This commit is contained in:
@@ -463,11 +463,12 @@ function createEventControllerFixtureForE10() {
|
||||
const ctx = {
|
||||
isInitialized: true,
|
||||
init: vi.fn(async () => {}),
|
||||
ui: { requestRender },
|
||||
ui: { requestRender, setEagerNativeScrollbackRebuild: vi.fn() },
|
||||
statusLine: { invalidate: vi.fn() },
|
||||
updateEditorTopBorder: vi.fn(),
|
||||
addMessageToChat,
|
||||
updatePendingMessagesDisplay,
|
||||
pendingTools: new Map(),
|
||||
session: {},
|
||||
} as unknown as InteractiveModeContext;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user