test: wire user interaction in stdio readline spec

This commit is contained in:
Yichen Jiang
2026-07-05 17:10:42 +08:00
parent ff8d38a9a8
commit 0bf50d3469
@@ -19,6 +19,7 @@ function fakeContext(): Context {
// The UI seeds its label map from the registry at install; this suite only
// exercises readline terminal-mode selection, so an empty roster suffices.
agents: { list: vi.fn(() => []) },
userInteraction: { registerProvider: vi.fn(() => vi.fn()) },
} as unknown as Context
}