Answer the question
In order to leave comments, you need to log in
How to find out which files do not have tests in an Angular project?
There is a project on Angular 11. Tests are written using jest.
How to find out which components/pipes/services do not have tests, i.e. for example, next to the file with their code is not a file with the suffix "spec"?
Answer the question
In order to leave comments, you need to log in
After executing the command ng test --watch=false --code-coverage , a coverage folder will be created - and you can configure the location in the config - and in this folder there will be a project build with an index file - after switching to it - you will see the amount of coverage of your tests project
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question