Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: There is a large amount of autogenerated files in the coverage folder when running `jest --coverage`. This folder is also in .gitignore for react projects created with `create-react-app` Originally suggested here: react-native-community/discussions-and-proposals#569 ## Changelog <!-- Help reviewers and the release process by writing your own changelog entry. Pick one each for the category and type tags: [ANDROID|GENERAL|IOS|INTERNAL] [BREAKING|ADDED|CHANGED|DEPRECATED|REMOVED|FIXED|SECURITY] - Message For more details, see: https://reactnative.dev/contributing/changelogs-in-pull-requests --> [GENERAL] [ADDED] - Added "coverage" folder generated på `jest --coverage` to .gitignore Pull Request resolved: #35809 Test Plan: 1. cd template 2. yarn 3. yarn test --coverage Im not sure why many of the files in the template folder have an underscore(_) in the filenames instead of a dot(.). When creating a react-native project they have a dot. So if you run the above commands, the coverage folder will not be ignored since its not in `.gitingore` but in `_gitignore`. However, if you temporarily create a `.gitignore` file, you will see that the coverage folder is ignored. 4. Temporarily create `.gitignore` file to verify that coverage folder is ignored Reviewed By: cortinico Differential Revision: D42454560 Pulled By: jacdebug fbshipit-source-id: 0be007d3ba3dde47814c0ce0fb8b0ff9f67d637b
- Loading branch information