From 0145d1977e14de622672b76b848dc17d12d701da Mon Sep 17 00:00:00 2001 From: Arvid Andersson Date: Fri, 2 Oct 2026 13:59:17 +0200 Subject: [PATCH] Keep Jest out of local agent worktrees - Agent worktrees under .claude/ hold old copies of the tests, which ran alongside the real suite (231 suites instead of 84) and could fail a release check - testPathIgnorePatterns replaces Jest's default, so /node_modules/ is listed too --- jest.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jest.config.js b/jest.config.js index 82340d6..af270a0 100644 --- a/jest.config.js +++ b/jest.config.js @@ -8,5 +8,6 @@ export default { testMatch: [ '**/tests/**/*.test.ts', '**/tests/**/*.test.js' - ] + ], + testPathIgnorePatterns: ['/node_modules/', '/.claude/'] }; \ No newline at end of file