Coverage data missing from some typescript files

I just tried that and it didn’t make any changes. The file paths in the reports are from the root of the project so they are unique.

Hi,

This doesn’t sounds like absolute paths, but still relative to project root. Can you try it with absolute paths?

 
Ann

Sorry, I ran after updating the coverage reports to use absolute paths and I’m still not seeing coverage for files (non duplicates as well).

I’ll run again, maybe I messed something up. Is there anything particular in the log I should look out for?

Donald

I ran again with absolute paths and the duplicate files did show up with coverage. I have other files still not showing but the coverage report is looking a little suspicious for those.

Hi Donald,

Great news!

And was it a big deal to get absolute paths into your report, or just a configuration change?

 
Ann

It’s going to be a big deal, since that is coming from cypress coverage, I don’t have any control over the paths. I just manually updating the coverage reports with the absolute path to try it.

Hi,

Okay, I think this is a known issue, but I’ve flagged this for the language experts.

 
Ann

Hello @Donald_Renner,

Thanks for raising this. It is a known issue (JS-537), and I could reproduce again. I created a PR to fix it, and should be fixed in the next release.

Cheers,
Victor