(session: CopilotSession | undefined)
| 52 | } |
| 53 | |
| 54 | async function disconnect(session: CopilotSession | undefined): Promise<void> { |
| 55 | if (!session) { |
| 56 | return; |
| 57 | } |
| 58 | try { |
| 59 | await session.disconnect(); |
| 60 | } catch { |
| 61 | // Best-effort cleanup. |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | it("should list models for session", { timeout: 120_000 }, async () => { |
| 66 | const token = "rpc-session-model-list-token"; |
no test coverage detected
searching dependent graphs…