pamepeixinho / jest-coverage-badges

Create jest coverage badges (from all jest types)
MIT License
103 stars 177 forks source link

Added `--average` flag #18

Open hollandjake opened 3 years ago

hollandjake commented 3 years ago

using the cli command --average you can get an extra badge which is an average of all types by default (using the reportKeys variable). but also has a secondary parameter --average "lines,functions,branches,statements" which is a comma seperated string containing the types which you want included in the average.