mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-08-14 23:52:10 +02:00
Keep nested worktrees out of test runs
Test runs from the repo root were picking up every git worktree under .claude, running 648 tests across 102 files instead of 322 across 34. That made results misleading rather than just noisy: a failure in an unrelated worktree showed up as a failure here. Ignores the directory too. Only settings.local.json was listed, while rules.md stays tracked.
This commit is contained in:
@@ -58,3 +58,4 @@ flatpak/node-sources.json
|
||||
|
||||
# Claude Code local settings
|
||||
.claude/settings.local.json
|
||||
.claude/worktrees/
|
||||
|
||||
+2
-1
@@ -14,6 +14,7 @@ export default defineConfig({
|
||||
},
|
||||
},
|
||||
test: {
|
||||
exclude: ["**/node_modules/**", "**/flatpak/**"],
|
||||
// Nested git worktrees live under .claude, and their tests are not this checkout's
|
||||
exclude: ["**/node_modules/**", "**/flatpak/**", "**/.claude/**"],
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user