Cobertura reporter makes non valid method when using v8 coverage
jehy opened this issue · comments
If you use Node 12 or 13 and v8 coverage provider, istanbul generates wrong method names, including non valid <
and >
characters, like this:
<method name="map.<computed>.f" hits="1" signature="()V">
Bug can be reproduced with jest and with c8:
jestjs/jest#9561
bcoe/c8#149
I can try to provide a minimal example, but it seems like a simple fix would be to replace <>
with <
and >
.
Sorry, wrong repo, actual issue here: istanbuljs/istanbuljs#527
Why is issues section open on a deprecated repo? oO