text: /* eslint-disable quote-props, quotes */
  
  module.exports = {
    moduleNameMapper: {
      "\\.(css|less)$": "<rootDir>/src/__tests__/__mocks__/styleMock.js",
      'lottie-react-native': 'react-native-web-lottie',
    },
    collectCoverageFrom: [
      'src/**/*.{js,jsx,ts,tsx}',
      '!src/**/*.d.ts'
    ],
    resolver: "jest-pnp-resolver",
    preset: "react-native-web",
    rootDir: '../',
    setupFiles: [
      'react-app-polyfill/jsdom',
      '<rootDir>/config/initTest.js',
    ],
    testMatch: [
      '<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}',
      '<rootDir>/src/**/?(*.)(spec|test).{js,jsx,ts,tsx}'
    ],
    testURL: 'http://localhost',
    transform: {
      '^.+\\.(js|jsx)$': 'babel-jest',
      '^.+\\.css$': '<rootDir>/config/jest/cssTransform.js',
      '^(?!.*\\.(js|jsx|css|json)$)': '<rootDir>/config/jest/fileTransform.js'
    },
    transformIgnorePatterns: [
      '<rootDir>/src/lib/facetec',
      '<rootDir>/node_modules/(?!(jest-)?nft.storage|react-native|react-navigation|react-navigation-redux-helpers|react-phone-number-input|webrtc-adapter)',
    ],
    moduleFileExtensions: [
      'web.js',
      'js',
      'json',
      'web.jsx',
      'jsx',
      'node'
    ],
    testPathIgnorePatterns: [
      "/__tests__/__util__/",
      "/__tests__/__suites__/",
      "/__tests__/__mocks__/",
      "<rootDir>/src/.*/.*(android|ios|native)\.js",
      "<rootDir>/src/index.js",
      "<rootDir>/src/init.js",
      "<rootDir>/src/serviceWorker.js"
    ]
    ,
    coveragePathIgnorePatterns: [
      "/__tests__/__util__/",
      "/__tests__/__suites__/",
      "<rootDir>/src/.*/.*(android|ios|native)\.js",
      "<rootDir>/src/index.js",
      "<rootDir>/src/init.js",
      "<rootDir>/src/serviceWorker.js",
      "<rootDir>/src/lib/facetec/FaceTecSDK.web.js",
    ],
    globals: {
      "TZ" : "UTC"
    }
  };
  