Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Due to a change in Babel 7 that affects resolution of babel configs[1] (`.babelrc` is now a hierarchical config, while `babel.config.js` is not), source files outside of the source root of jest will not be transpiled. That means, plugins running tests were not able to require/import source files of core. With this change, `.babelrc` will be renamed to `babel.config.js`, so it is still used when a plugin imports a file from core. [1]: jestjs/jest#6053 (comment)
- Loading branch information