text: module.exports = {
    displayName: 'test',
    preset: 'react-native',
    transformIgnorePatterns: ['node_modules/(?!react-native|react-navigation)/'],
    transform: {
      '^.+\\.js$': require.resolve('react-native/jest/preprocessor'),
    },
    setupFilesAfterEnv: ['<rootDir>/test/setupFilesAfterEnv.ts'],
    // moduleNameMapper: {
    // 	'styled-components': require.resolve('styled-components/native/dist/styled-components.native.cjs'),
    // 	'^React$': require.resolve('react')
    // },
    moduleNameMapper: {
      '\\.(scss)$': 'identity-obj-proxy',
      '<rootDir>/config.js': '<rootDir>/__mocks__/config.js',
      'styled-components': require.resolve(
        'styled-components/native/dist/styled-components.native.cjs',
      ),
      '^React$': require.resolve('react'),
    },
    setupFiles: [require.resolve('./test/setupFiles')],
    testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.(j|t)(s|sx)?$',
  };
  