diff --git a/jest.config.js b/jest.config.js index 0fbc3e59df14..eed0ea91fec1 100644 --- a/jest.config.js +++ b/jest.config.js @@ -27,10 +27,10 @@ module.exports = { '/node_modules/@expensify/react-native-live-markdown/lib/commonjs/parseExpensiMark.js', ], testPathIgnorePatterns: ['/node_modules'], - // .worktrees/ holds parallel git worktrees a developer may check out locally. + // .worktrees/ and .claude/worktrees/ hold parallel git worktrees a developer may check out locally. // Each one carries its own modules/hybrid-app/package.json, which trips // jest-haste-map's "duplicate package name" assertion. Skip them entirely. - modulePathIgnorePatterns: ['/.worktrees/'], + modulePathIgnorePatterns: ['/.worktrees/', '/.claude/worktrees/'], globals: { __DEV__: true, WebSocket: {}, diff --git a/tsconfig.json b/tsconfig.json index e3e7c61ff2d3..1a5c38107627 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -50,5 +50,5 @@ "**/*.nitro/*.ts", "**/*.nitro/*.tsx" ], - "exclude": ["**/node_modules/*", "**/dist/*", ".github/actions/**/index.js", "**/docs/*"] + "exclude": ["**/node_modules/*", "**/dist/*", ".github/actions/**/index.js", "**/docs/*", ".claude/worktrees/**"] }