Skip to content

Commit

Permalink
fix update jest.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
yeoniii20 authored Jun 13, 2024
1 parent f9ac938 commit 47b91db
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,12 @@ module.exports = {
'^@react-native-async-storage/async-storage$': '<rootDir>/__mocks__/async-storage.js',
'^expo-notifications$': '<rootDir>/__mocks__/expo-notifications.js',
'^expo-font$': '<rootDir>/__mocks__/expo-font.js',
'^react-native-gesture-handler$': '<rootDir>/__mocks__/react-native-gesture-handler.js',
},
transformIgnorePatterns: [
"node_modules/(?!(@react-native|react-native|react-native-.*|@react-navigation|expo-.*)/)"
],
transform: {
"^.+\\.[jt]sx?$": "babel-jest"
},
};

0 comments on commit 47b91db

Please sign in to comment.