From 47b91db1bdbfd244792463b898cd74442890f3fe Mon Sep 17 00:00:00 2001 From: suyoooi <100350818+yeoniii20@users.noreply.github.com> Date: Thu, 13 Jun 2024 15:34:31 +0900 Subject: [PATCH] fix update jest.config.js --- jest.config.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jest.config.js b/jest.config.js index a73122c1..a213a973 100644 --- a/jest.config.js +++ b/jest.config.js @@ -7,8 +7,12 @@ module.exports = { '^@react-native-async-storage/async-storage$': '/__mocks__/async-storage.js', '^expo-notifications$': '/__mocks__/expo-notifications.js', '^expo-font$': '/__mocks__/expo-font.js', + '^react-native-gesture-handler$': '/__mocks__/react-native-gesture-handler.js', }, transformIgnorePatterns: [ "node_modules/(?!(@react-native|react-native|react-native-.*|@react-navigation|expo-.*)/)" ], + transform: { + "^.+\\.[jt]sx?$": "babel-jest" + }, };