diff --git a/jest/react-native-env.js b/jest/react-native-env.js index b45ac255d9c202..624d3648766c33 100644 --- a/jest/react-native-env.js +++ b/jest/react-native-env.js @@ -12,5 +12,7 @@ const NodeEnv = require('jest-environment-node').TestEnvironment; module.exports = class ReactNativeEnv extends NodeEnv { - // this is where we'll add our custom logic + exportConditions() { + return ['react-native']; + } };