mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-28 12:15:37 +08:00
Summary: Existing glob might not work very well with `spec.js` and `test.js` files unless they're placed in `__tests__` directory. This PR aims to bring back the support of `jest` globals in these files, even if they're outside of `__tests__` directory. [General] [Fixed] - Fixed globs for `spec.js` and `test.js` files. Pull Request resolved: https://github.com/facebook/react-native/pull/24088 Differential Revision: D14562085 Pulled By: cpojer fbshipit-source-id: 543d67e3f8a154256f454b34ccc68bb070197a75