(args: string[], cwd: string)
| 23 | const env = { ...process.env, CODEGRAPH_NO_DAEMON: '1', CODEGRAPH_WASM_RELAUNCHED: '1' }; |
| 24 | |
| 25 | function node(args: string[], cwd: string): string { |
| 26 | return execFileSync(process.execPath, [...WASM_RUNTIME_FLAGS, ...args], { |
| 27 | cwd, |
| 28 | encoding: 'utf-8', |
| 29 | env, |
| 30 | stdio: ['ignore', 'pipe', 'ignore'], // drop stderr (SQLite experimental warning) |
| 31 | }); |
| 32 | } |
| 33 | |
| 34 | describe('the engine stays unloaded until something needs it', () => { |
| 35 | let root: string; |
no outgoing calls
no test coverage detected