(cwd: string, args: string[])
| 8 | const BIN = path.resolve(__dirname, '../dist/bin/codegraph.js'); |
| 9 | |
| 10 | function runCli(cwd: string, args: string[]) { |
| 11 | return spawnSync(process.execPath, [BIN, ...args, '-p', cwd], { |
| 12 | encoding: 'utf-8', |
| 13 | env: { ...process.env, CODEGRAPH_NO_DAEMON: '1', CODEGRAPH_WASM_RELAUNCHED: '1', NO_COLOR: '1' }, |
| 14 | }); |
| 15 | } |
| 16 | |
| 17 | describe('CLI truncation reporting (#1639)', () => { |
| 18 | let tempDir: string; |
no outgoing calls
no test coverage detected