chore(frontend): exclude .worktrees from vitest discovery

This commit is contained in:
Tyler
2026-06-20 00:04:44 -06:00
parent 8412bdc090
commit 5a5f611c2f
+8
View File
@@ -17,5 +17,13 @@ export default defineConfig({
env: {
VITE_API_BASE_URL: "http://test.local",
},
// Skip sibling worktrees + their node_modules so each worktree only runs
// its own tests. Without this, vitest walks up the tree and re-runs the
// main checkout's tests from inside the worktree, inflating the count.
exclude: [
"**/node_modules/**",
"**/dist/**",
".worktrees/**",
],
},
});