{
  "haste": {
    "defaultPlatform": "ios",
    "platforms": ["android", "ios", "native"],
    "providesModuleNodeModules": [
      "react-native"
    ]
  },
  "moduleNameMapper": {
    "^React$": "<rootDir>/node_modules/react"
  },
  "modulePathIgnorePatterns": [
    "<rootDir>/node_modules/react-native/Libraries/react-native/"
  ],
  "transform": {
    "^.+\\.js$": "babel-jest",
    "^[./a-zA-Z0-9$_-]+\\.(bmp|gif|jpg|jpeg|mp4|png|psd|svg|webp)$": "<rootDir>/node_modules/react-native/jest/assetFileTransformer.js"
  },
  "transformIgnorePatterns": [
    "node_modules/(?!(jest-)?react-native|react-clone-referenced-element)"
  ],
  "setupFiles": [
    "<rootDir>/node_modules/react-native/jest/setup.js"
  ],
  "testEnvironment": "node"
}

{
  "haste": {
    "defaultPlatform": "ios",
    "platforms": ["android", "ios", "native"],
    "hasteImplModulePath": "<rootDir>/node_modules/react-native/jest/hasteImpl.js",
    "providesModuleNodeModules": [
      "react-native"
    ]
  },
  "moduleNameMapper": {
    "^React$": "<rootDir>/node_modules/react"
  },
  "modulePathIgnorePatterns": [
    "<rootDir>/node_modules/react-native/Libraries/react-native/"
  ],
  "transform": {
    "^.+\\.js$": "babel-jest",
    "^[./a-zA-Z0-9$_-]+\\.(bmp|gif|jpg|jpeg|mp4|png|psd|svg|webp)$": "<rootDir>/node_modules/react-native/jest/assetFileTransformer.js"
  },
  "transformIgnorePatterns": [
    "node_modules/(?!(jest-)?react-native|react-clone-referenced-element)"
  ],
  "setupFiles": [
    "<rootDir>/node_modules/react-native/jest/setup.js"
  ],
  "testEnvironment": "node"
}

Set hasteImplModulePath in React Native Jest preset
Set hasteImplModulePath in React Native Jest preset

Reviewed By: cpojer

Differential Revision: D7843566

fbshipit-source-id: 98be0d7286351475248f53b7c028e6c85d411a10
