(child: ChildProcessWithoutNullStreams, rootUri: string, id: number)
| 89 | } |
| 90 | |
| 91 | function sendInitialize(child: ChildProcessWithoutNullStreams, rootUri: string, id: number): void { |
| 92 | sendMessage(child, { |
| 93 | jsonrpc: '2.0', |
| 94 | id, |
| 95 | method: 'initialize', |
| 96 | params: { |
| 97 | protocolVersion: '2024-11-05', |
| 98 | capabilities: {}, |
| 99 | clientInfo: { name: 'test', version: '0.0.0' }, |
| 100 | rootUri, |
| 101 | }, |
| 102 | }); |
| 103 | } |
| 104 | |
| 105 | /** Find a JSON-RPC response with the given id (result OR error) on stdout. */ |
| 106 | function findResponse(stdout: string[], id: number): any | null { |
no test coverage detected