Have no ideas why when I hit
npm test --codecoverage
All test is being executed, however I see an empty '/coverage' folder with no single report. I use angular-cli
What I'm doing wrong?
If you have the CLI installed globally, The command is
ng test --code-coverage
If you want to use the npm scripts, you will need to do
npm test -- --code-coverage
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With