MCPcopy Create free account
hub / github.com/github/copilot-sdk / expectQueueEmpty

Function expectQueueEmpty

nodejs/test/e2e/rpc_queue.e2e.test.ts:14–18  ·  view source on GitHub ↗
(session: Awaited<ReturnType<typeof client.createSession>>)

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 1

pendingItemsMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…