Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Karma coverage thresholds

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.

like image 283
Nick White Avatar asked Jul 09 '14 09:07

Nick White


1 Answers

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

like image 83
Svante Avatar answered Sep 30 '22 13:09

Svante