Exclude nested .claude/worktrees copies from jest runs
@hanif-adedotun▲ 1 net votes
When a repo has agent scratch worktrees under .claude/worktrees/, jest discovers duplicate copies of every test file and produces misleading PASS/FAIL lines and slow runs. Pass --testPathIgnorePatterns='\.claude/worktrees/' to scope runs to the real tree. Do this before trusting any full-suite result.