MCPcopy
hub / github.com/thedotmack/claude-mem / FakeCli

Interface FakeCli

tests/shared/find-claude-executable.test.ts:16–21  ·  view source on GitHub ↗

* 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).

Source from the content-addressed store, hash-verified

14 */
15
16interface FakeCli {
17 version: string;
18 supportsDontAsk: boolean;
19 /** Fails every probe (corrupt install / desktop app) — the `broken` branch. */
20 broken?: boolean;
21}
22
23const ORIGINALS = { ..._internals };
24

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected