(child: ChildProcessWithoutNullStreams, projectPath: string)
| 51 | } |
| 52 | |
| 53 | function sendInitialize(child: ChildProcessWithoutNullStreams, projectPath: string) { |
| 54 | const msg = JSON.stringify({ |
| 55 | jsonrpc: '2.0', |
| 56 | id: 0, |
| 57 | method: 'initialize', |
| 58 | params: { |
| 59 | protocolVersion: '2025-11-25', |
| 60 | capabilities: {}, |
| 61 | clientInfo: { name: 'test', version: '0.0.0' }, |
| 62 | rootUri: `file://${projectPath}`, |
| 63 | }, |
| 64 | }); |
| 65 | child.stdin.write(msg + '\n'); |
| 66 | } |
| 67 | |
| 68 | /** |
| 69 | * Collect stdout lines and stderr text from the child, tagging each piece |
no test coverage detected