diff --git a/jest/react-native-env.js b/jest/react-native-env.js index c699a97d0df..494bb884ef4 100644 --- a/jest/react-native-env.js +++ b/jest/react-native-env.js @@ -12,5 +12,5 @@ const NodeEnv = require('jest-environment-node').TestEnvironment; module.exports = class ReactNativeEnv extends NodeEnv { - customExportConditions = ['import', 'require', 'react-native']; + customExportConditions = ['require', 'react-native']; };