We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
exportConditions
1 parent 3d9a3b7 commit 0376aa4Copy full SHA for 0376aa4
jest/react-native-env.js
@@ -12,5 +12,7 @@
12
const NodeEnv = require('jest-environment-node').TestEnvironment;
13
14
module.exports = class ReactNativeEnv extends NodeEnv {
15
- // this is where we'll add our custom logic
+ exportConditions() {
16
+ return ['react-native'];
17
+ }
18
};
0 commit comments