Browse Source

change keystore mock sub

pull/1/head
Tim Glasgow 2 years ago
parent
commit
72c4c9ec8f
  1. 2
      squarenotsquare/jest.config.js

2
squarenotsquare/jest.config.js

@ -6,7 +6,7 @@ module.exports = {
moduleDirectories: ['node_modules', 'src'],
moduleNameMapper: {
// '@react-native-firebase/messaging: '<rootDir>/__mock__/mockFirebase.js',
'../services/Keystore': '<rootDir>/__mock__/mockKeyStore.js',
'react-native-secure-key-store': '<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',
'^(realm)': '<rootDir>/__mock__/mockRealmObject'
},

Loading…
Cancel
Save