Code coverage report is not including all files in project

Hi,

I am using “fdk run” to generate the code coverage report. Though I have multiple testable files in my project (e.g. app/app.js), the only file that is being included for code coverage is server/server.js

Not sure if it is related, but I had also updated the platform to 2.2 from platform 2.0.

I also tried deleting the .report.json and coverage folder so that they are regenerated, but still only server/server.js is included for coverage.

Any ideas?

Thanks

I forgot to allow insecure content when I added the dev=true query string parameter and this caused the other files to not appear in the coverage report. Once I allowed the insecure content, they appeared in the coverage report.

1 Like

This topic was automatically closed 6 days after the last reply. New replies are no longer allowed.