angular-fullstack / generator-angular-fullstack

Yeoman generator for an Angular app with an Express server
https://awk34.gitbook.io/generator-angular-fullstack
6.12k stars 1.24k forks source link

grunt test:coverage (istanbul_check_coverage:default) fails #1219

Open amejiarosario opened 9 years ago

amejiarosario commented 9 years ago

I'm using 3.0.0-rc4. All the tests are passing however, at the end I get this error:

Running "istanbul_check_coverage:default" (istanbul_check_coverage) task

/Users/adrian/code/meanshop/node_modules/istanbul/lib/cli.js:38
        throw ex; // turn it into an uncaught exception
              ^
ERROR: Coverage for statements (73.84%) does not meet global threshold (80%)
ERROR: Coverage for branches (54.05%) does not meet global threshold (80%)
ERROR: Coverage for lines (73.84%) does not meet global threshold (80%)
ERROR: Coverage for functions (56.1%) does not meet global threshold (80%)
kingcody commented 9 years ago

We have two options here: