How can I make jest run with the same config as react-script test on a create-react-app?
问题 I know I can run npm test which runs react-script test and it works, it successfully run the tests. But I'm interested in figuring out how to run jest directly with the same configuration react-script uses. Hopefully without having to replicate the configuration or ejecting the app. I started reading the source code of react-scripts but so far I couldn't figure it out. The reasons for wanting this are: My CRA project is part of a bigger project, and I could just run jest on the top level and