istanbuljs / v8-to-istanbul

convert from v8 coverage format to istanbul's format
ISC License
115 stars 40 forks source link

Duplicated/split report when multiple files have the same origin #232

Closed isaacs closed 1 year ago

isaacs commented 1 year ago

https://github.com/tapjs/tapjs/issues/967

isaacs commented 1 year ago

Oh, interesting wrinkle! This only happens on Windows. On macOS and linux it seems to merge them properly.

So I am suddenly very suspicious of it being a path string comparison issue.

isaacs commented 1 year ago

Managed to work around this by canonicalizing the source urls that ts-node creates. There's still another issue with branch merging, though, will post another issue for that.