* All probing goes through the _internals seam, so these tests swap its * members instead of module-mocking child_process (mock.module is * process-global and sticky in bun — see tests/preload.ts notes).
| 14 | */ |
| 15 | |
| 16 | interface FakeCli { |
| 17 | version: string; |
| 18 | supportsDontAsk: boolean; |
| 19 | /** Fails every probe (corrupt install / desktop app) — the `broken` branch. */ |
| 20 | broken?: boolean; |
| 21 | } |
| 22 | |
| 23 | const ORIGINALS = { ..._internals }; |
| 24 |
nothing calls this directly
no outgoing calls
no test coverage detected