react-native/local-cli/.npmignore
Vladimir Timofeev 23cfa29ac7 Fix tests in template project (0.58-stable) (#23128)
* 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.
2019-01-23 19:00:39 +01:00

4 lines
56 B
Plaintext

__fixtures__
__tests__
!/templates/HelloWorld/__tests__