test(apiproxy): assert this layer's roster shape on the wire
The roster gained `authorable` here, so the round trip has to expect it.
This commit is contained in:
@@ -233,7 +233,7 @@ describe('unary round trip', () => {
|
|||||||
const c = client(scriptedApi())
|
const c = client(scriptedApi())
|
||||||
|
|
||||||
const listed = await c.agentPresets.list({})
|
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
|
// The switch carries the session it is about: the host refuses one whose
|
||||||
// conversation has started, and it can only know which by id.
|
// conversation has started, and it can only know which by id.
|
||||||
|
|||||||
Reference in New Issue
Block a user