SIGN IN SIGN UP

test(analysis): add integration tests for worktree path and findGitRoot

Cover the remaining uncovered code paths:
- resolveEffectiveInput with a real commit (worktree creation + cleanup)
- subdirectory scope preservation in worktree mode
- findGitRoot error when not inside a git repository
- exception cause preservation when both rev-parse and date fallback fail
- date fallback resolution via mock

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
C
Christian Hühn committed
60ce62ac3f0e525bd45b5e68ff4c2cc043aa601d
Parent: 31db241
Committed by Christian Hühn <161825497+ChristianHuehn@users.noreply.github.com> on 3/16/2026, 10:10:11 AM