Procházet zdrojové kódy

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 před 1 měsícem
rodič
revize
8669afbbbc

+ 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.