Просмотр исходного кода

test(apiproxy): assert this layer's roster shape on the wire

The roster gained `authorable` here, so the round trip has to expect it.
Yichen Jiang 1 месяц назад
Родитель
Сommit
8669afbbbc
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/host/apiproxy/tests/client-handler.spec.ts

+ 1 - 1
packages/host/apiproxy/tests/client-handler.spec.ts

@@ -233,7 +233,7 @@ describe('unary round trip', () => {
     const c = client(scriptedApi())
 
     const listed = await c.agentPresets.list({})
-    expect(listed.result).toEqual({ ok: true, value: { presets: [] } })
+    expect(listed.result).toEqual({ ok: true, value: { presets: [], authorable: false } })
 
     // The switch carries the session it is about: the host refuses one whose
     // conversation has started, and it can only know which by id.