(quiet: boolean)
| 26 | }); |
| 27 | |
| 28 | function sync(quiet: boolean) { |
| 29 | return spawnSync(process.execPath, [BIN, 'sync', testDir, ...(quiet ? ['--quiet'] : [])], { |
| 30 | encoding: 'utf8', |
| 31 | timeout: 30_000, |
| 32 | env: { |
| 33 | ...process.env, |
| 34 | CODEGRAPH_TELEMETRY: '0', DO_NOT_TRACK: '1', |
| 35 | CODEGRAPH_NO_PROMPT_HOOK: '1', CODEGRAPH_NO_DAEMON: '1', |
| 36 | NODE_NO_WARNINGS: '1', NO_COLOR: '1', |
| 37 | }, |
| 38 | }); |
| 39 | } |
| 40 | |
| 41 | it.each([false, true])('reports pending-reference recovery (quiet=%s)', (quiet) => { |
| 42 | for (const resolvable of [true, false]) { |
no outgoing calls
no test coverage detected