()
| 62 | const SHARED_TOKEN = "suspend-shared-test-token"; |
| 63 | |
| 64 | function createTcpServer(): CopilotClient { |
| 65 | const server = new CopilotClient({ |
| 66 | workingDirectory: workDir, |
| 67 | env, |
| 68 | gitHubToken: DEFAULT_GITHUB_TOKEN, |
| 69 | connection: RuntimeConnection.forTcp({ |
| 70 | path: process.env.COPILOT_CLI_PATH, |
| 71 | connectionToken: SHARED_TOKEN, |
| 72 | }), |
| 73 | }); |
| 74 | onTestFinishedForceStop(server); |
| 75 | return server; |
| 76 | } |
| 77 | |
| 78 | function createConnectingClient(cliUrl: string): CopilotClient { |
| 79 | const connectedClient = new CopilotClient({ |
no test coverage detected
searching dependent graphs…