diff --git a/squarenotsquare/jest.config.js b/squarenotsquare/jest.config.js index aa7322b..1fd92fd 100644 --- a/squarenotsquare/jest.config.js +++ b/squarenotsquare/jest.config.js @@ -7,7 +7,8 @@ module.exports = { moduleNameMapper: { // '@react-native-firebase/messaging: '/__mock__/mockFirebase.js', '../services/Keystore': '/__mock__/mockKeyStore.js', - '\\.(jpg|ico|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': '/__mock__/file.js' + '\\.(jpg|ico|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': '/__mock__/file.js', + '^(realm)': '/__mock__/mockRealmObject' }, transform: { '^.+\\.(ts|tsx)?$': 'ts-jest',