arikon/mocha-istanbul

Coverage summary shows threshold met but then error is thrown for threshold not met

brandontineo opened this issue · 0 comments

=============================== Coverage summary ===============================
Statements : 92.85% ( 8005/8621 )
Branches : 84.35% ( 3159/3745 )
Functions : 91.15% ( 1925/2112 )
Lines : 92.97% ( 7706/8289 )

THE EXCEPTION BEING THROWN IS ERROR: Coverage for statements (68.9%) does not meet global threshold (75%)
ERROR: Coverage for lines (69.72%) does not meet global threshold (75%)

/Users/btineo/Desktop/myProject/node_modules/istanbul/lib/cli.js:39
throw ex; // turn it into an uncaught exception
^
ERROR: Coverage for statements (68.9%) does not meet global threshold (75%)
ERROR: Coverage for lines (69.72%) does not meet global threshold (75%)
Warning: Use --force to continue.