Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
fix: change template to work with jest #23150
This change is required to make
Already tested it locally using
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need the corporate CLA signed.
If you have received this in error or have any questions, please contact us at email@example.com. Thanks!
Summary: This change is required to make `yarn test` work in newly initialized project. `Jest@23` doesn't play well with new babel, so we need to install `babel-core@^7.0.0-bridge.0` and change `.babelrc` to `babel.config.js` to make it work. This is a temporary change till `jest` releases stable `24` version. Pull Request resolved: facebook#23150 Differential Revision: D13811428 Pulled By: hramos fbshipit-source-id: 8db6b9177cd31d4a1213fb44964b05f26982bdf2