/** * Tests for src/cli/uninstall.ts * * Coverage: * - Workspace root cleanup (.codeprism/, codeprism.db, codeprism.config.json) * - Per-repo cleanup (ai-codeprism/, cursor rules, zed rules) * - Section removal from CLAUDE.md, .windsurfrules (strip section or delete file) * - JSON key removal from .cursor/mcp.json (remove codeprism, keep others) * - Git hook codeprism block removal * - CLI options: --dry-run, --force, --no-global * - Edge cases: clean workspace, config-less fallback * * Isolation: * - @inquirer/prompts (confirm) → vi.mock * - ./install-hook.js (findGitRoot) → vi.mock (avoids real git operations) * - process.cwd() → vi.spyOn to point at temp workspace * - console.log/warn/error → suppressed * - Real temp directories on disk, cleaned in afterEach */ export {}; //# sourceMappingURL=uninstall.test.d.ts.map