You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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``
Activity
gaearon commentedon Oct 11, 2016
We can add it to our config. Should it just look at app's
src/? Would you like to send a PR?mackbyte commentedon Oct 17, 2016
Seems someone else raised a PR:
mackbyte commentedon Oct 20, 2016
Any update on this ? Is the PR acceptable ? I notice its not CLA signed so does it need to be resubmitted ?
mackbyte commentedon Oct 25, 2016
I submitted a pull request #961
Let me know if its acceptable.
gaearon commentedon Nov 20, 2016
Fixed in #961, will be out in 0.8.0.
gaearon commentedon May 16, 2017
It is also configurable in the next version.
#1830
gaearon commentedon May 16, 2017
Please help beta test the new version that includes this change!
#2172