javascript - Istanbul/Mocha Files Not Showing Up -


So I have this node script that I use to run my MOCH test with Istanbool for code coverage:

On line 18, I get a list of files that should be included for code coverage so that at lines 34 and 49, I will limit the inclusion of relevant files.

I see that this issue is that if any file taken on Line 18 is never called, then it is now visible in the report. Now it should never be, but if someone creates a new file, but forgets to write the test for it (again, never should be), I would like to show the file with 0% for coverage data.

Is there a way to get such files, which is never shown in the report as 0% so that I'm sure any files have been completely erased from the trial?


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -