cenfun / monocart-coverage-reports

A code coverage tool to generate native V8 reports or Istanbul reports.
MIT License
31 stars 5 forks source link

[Question] does transformer only works for v8? #79

Open stevez opened 4 hours ago

stevez commented 4 hours ago

I saw monocart Istanbul report for playwright tests there are empty files are all zero lines, so I tried to use transformer() function, but it didn't help, so I wonder the transformer function only apply for v8 not Istanbul?

cenfun commented 4 hours ago

Yes, the transformer only apply for V8 data. It's said, your report(v8 reports or istanbul reports) will not zero lines if base on V8 data (Array) otherwise will be 0 lines if base on Istanbul data (Object)