#coverage #v8 #convert #source-map #format #js #istanbul

app v8-to-istanbul

A tool to convert v8 coverage to istanbul format

2 releases

0.1.3 Aug 26, 2024
0.1.0 Aug 14, 2024

#236 in Filesystem

45 downloads per month

MIT license

39KB
947 lines

V8 Coverage to Istanbul Coverage

v8 coverage + source map => raw code coverage

v8-to-istanbul convert --pattern "test-results/**/v8-coverage.json" --filters "{xxx.min.js}" --output ./ --merge --use-local

difference with https://github.com/istanbuljs/v8-to-istanbul

  • coverage for all code in source map (not only code in v8 coverage)
  • better performance (perhaps?)

TODO

[ ] Functions [ ] Branch

Dependencies

~19–31MB
~482K SLoC