mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
* Restore __tests__ folder in HelloWorld template PR #18019 Removed __tests__ and __fixtures__ folders from npm package. But it also effectively removed __tests__ folder from initial project template. This commit restores __tests__ in template application. It applicable only to 0.58-stable branch because in master, templates was moved to another location. I think we should recheck what is ignored in master after this landed. * Use babel.config.js in template HelloWorld application * Add babel-core@^7.0.0-bridge.0 to jest dependencies when react-native init new project. This should fix tests with babel7.
4 lines
75 B
JavaScript
4 lines
75 B
JavaScript
module.exports = {
|
|
presets: ["module:metro-react-native-babel-preset"]
|
|
}
|