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
In my code structure, there are multiple directories under src, and there is one directory test which contains unit test files.
My mocha_istanbul configuration as follows:
But it's still throwing errors for global threshold validation and error as follows:
/Users/user/grunt-mocha-istanbul-project/node_modules/istanbul/lib/cli.js:38
throw ex; // turn it into an uncaught exception
^
ERROR: Coverage for statements (75.02%) does not meet global threshold (80%)
(Use `node --trace-uncaught ...` to show where the exception was thrown)
But our coverage statement already covered 81.32%.
Then why is global threshold validation showing '75.02%'?
The text was updated successfully, but these errors were encountered:
In my code structure, there are multiple directories under
src
, and there is one directorytest
which contains unit test files.My
mocha_istanbul
configuration as follows:After executing the file ,
Coverage Summary
as follows:But it's still throwing errors for global threshold validation and error as follows:
But our coverage statement already covered 81.32%.
Then why is global threshold validation showing '75.02%'?
The text was updated successfully, but these errors were encountered: