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