From e4d7ae94a1d158978012d5679c842b9eb58f245d Mon Sep 17 00:00:00 2001 From: Sergei Date: Sun, 1 Feb 2026 11:28:37 -0800 Subject: [PATCH] Fix jest config to exclude web/admin/WellNuoLite test directories MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These projects have their own jest configurations with different path mappings. Running their tests from root jest config causes module resolution errors. Each project should run tests using its own config. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- jest.config.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/jest.config.js b/jest.config.js index aa578de..24b1f6d 100644 --- a/jest.config.js +++ b/jest.config.js @@ -5,6 +5,12 @@ module.exports = { transformIgnorePatterns: [ 'node_modules/(?!(expo|expo-router|expo-font|expo-asset|expo-constants|expo-modules-core|expo-status-bar|expo-splash-screen|expo-file-system|@expo/.*|@expo-google-fonts/.*|@react-native|react-native|react-native-reanimated|react-native-worklets|@react-navigation|react-navigation|@unimodules/.*|unimodules|sentry-expo|native-base|react-native-svg|react-native-ble-plx|react-native-base64|@stripe/.*)/)', ], + testPathIgnorePatterns: [ + '/node_modules/', + '/web/', + '/admin/', + '/WellNuoLite/', + ], moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], moduleNameMapper: { '^@/(.*)$': '/$1',