Support Jest collectCoverageFrom option
See original GitHub issuehttps://github.com/facebook/jest/issues/1211
When Jest performs code coverage, it seems to only cover the files that were tested instead of all files in my source directory. This gives a skewed percentage of files tested.
Jest 15 added a new config option for this called `collectCoverageFrom``
Can we have support for this in CRA?
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
nrwl/nx - Support collectCoverageFrom option in JEST builder
This issue has been automatically marked as stale because it hasn't had any recent activity. It will be closed in 14 days if...
Read more >Configuring Jest
This option tells Jest that all imported modules in your tests should be mocked automatically. ... collectCoverageFrom [array].
Read more >Configuring code coverage in Jest, the right way
If you're using Jest, here are three options that should always be present in your Jest configuration: collectCoverage; collectCoverageFrom ...
Read more >Jest collectCoverageFrom and coverageThreshold not working
I have simple create react app. I've created jest.config.ts file because my project ...
Read more >Configuring package.json · Jest
When using the --config option, the JSON file must not contain a "jest" key: ... collectCoverage [boolean]; collectCoverageFrom [array] ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
We can add it to our config. Should it just look at app’s
src/
? Would you like to send a PR?Any update on this ? Is the PR acceptable ? I notice its not CLA signed so does it need to be resubmitted ?