Explorar o código

test: wire user interaction in stdio readline spec

Yichen Jiang hai 3 meses
pai
achega
0bf50d3469
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      packages/ui/stdio-agent/tests/readline.spec.ts

+ 1 - 0
packages/ui/stdio-agent/tests/readline.spec.ts

@@ -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
 }