(session: Awaited<ReturnType<typeof client.createSession>>)
| 12 | const { copilotClient: client } = await createSdkTestContext(); |
| 13 | |
| 14 | async function expectQueueEmpty(session: Awaited<ReturnType<typeof client.createSession>>) { |
| 15 | const pending = await session.rpc.queue.pendingItems(); |
| 16 | expect(pending.items).toEqual([]); |
| 17 | expect(pending.steeringMessages).toEqual([]); |
| 18 | } |
| 19 | |
| 20 | function isPendingCommand( |
| 21 | item: { kind: string; displayText: string }, |
no test coverage detected
searching dependent graphs…