(skipWritingCache?: boolean)
| 122 | } |
| 123 | |
| 124 | async stop(skipWritingCache?: boolean): Promise<void> { |
| 125 | const url = skipWritingCache |
| 126 | ? `${this.proxyUrl}/stop?skipWritingCache=true` |
| 127 | : `${this.proxyUrl}/stop`; |
| 128 | const response = await fetch(url, { method: "POST" }); |
| 129 | expect(response.ok).toBe(true); |
| 130 | } |
| 131 | |
| 132 | /** |
| 133 | * Register a per-token response for the `/copilot_internal/user` endpoint. |
no outgoing calls
no test coverage detected