(child: ChildProcessWithoutNullStreams, projectPath: string)
| 35 | } |
| 36 | |
| 37 | function sendInitialize(child: ChildProcessWithoutNullStreams, projectPath: string) { |
| 38 | const msg = JSON.stringify({ |
| 39 | jsonrpc: '2.0', |
| 40 | id: 0, |
| 41 | method: 'initialize', |
| 42 | params: { |
| 43 | protocolVersion: '2025-11-25', |
| 44 | capabilities: {}, |
| 45 | clientInfo: { name: 'test', version: '0.0.0' }, |
| 46 | rootUri: `file://${projectPath}`, |
| 47 | }, |
| 48 | }); |
| 49 | child.stdin.write(msg + '\n'); |
| 50 | } |
| 51 | |
| 52 | /** |
| 53 | * Collect stdout lines and stderr text from the child, tagging each piece |
no test coverage detected