Fix jest config to exclude web/admin/WellNuoLite test directories
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 <noreply@anthropic.com>
This commit is contained in:
parent
29af4c0d0b
commit
e4d7ae94a1
@ -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/',
|
||||
'<rootDir>/web/',
|
||||
'<rootDir>/admin/',
|
||||
'<rootDir>/WellNuoLite/',
|
||||
],
|
||||
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
|
||||
moduleNameMapper: {
|
||||
'^@/(.*)$': '<rootDir>/$1',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user