Karma coverage thresholds

3.4k Views Asked by At

I am currently using Karma's coverage within a project, I would like to enforce a threshold for the coverage to be set at and therefore make my builds on Circle CI to fail and go red due to it being lower than a set percentage.

1

There are 1 best solutions below

2
Svante On BEST ANSWER

You can install karma-threshold-reporter and configure it as shown in the README.