Created by: favna
Resolves #8637 (closed).
Tested locally with these steps:
cd packages/react-scripts
yarn link
- In another project:
yarn link "react-scripts"
- Running
SKIP_PREFLIGHT_CHECKS=true yarn test
- Verifying that nothing changed from before symlinking modules
- Add
testMatch
key topackage.json
Jest config - Running
SKIP_PREFLIGHT_CHECKS=true yarn test
again - Verifying that only filed matching specified pattern are being included for testing
For further reasoning as to why this option should be added please refer to #8637 (closed).