Cover the moved isAlreadyRunning() check (non-TTY exit, quit, open, restart, new orchestrator) and the path-based dedup guard in addProjectToConfig(). Uses hoisted mocks for isAlreadyRunning, isHumanCaller, promptSelect, unregister, and waitForExit to ensure proper test isolation. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| src | ||
| templates/rules | ||
| CHANGELOG.md | ||
| package.json | ||
| tsconfig.json | ||
| vitest.config.ts | ||