istanbuljs / nyc

the Istanbul command line interface

Home Page:https://istanbul.js.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chrome code coverage dev tools - to gitlab code coverage visualization tool

teleginaian opened this issue · comments

Link to bug demonstration repository

Expected Behavior

Observed Behavior

Troubleshooting steps

  • still occurring when I put cache: false in my nyc config

Environment Information

# paste the output here

I have json files that were generated by chrome dev tools test coverage like this:
[{
"url": "https://example.com/main.css",
"ranges": [{
"start": 0,
"end": 106
},
{
"start": 531,
"end": 787
}
],
"text": "body{margin:0;font-family:"Helvetica Neue","Helvetica",Helvetica,Arial,sans-serif}*{box-sizing:border-box}.header{background-color:#efefef;padding:10px 30px;display:flex;justify-co...."
}]

can I convert them to a report or a cuberture format?
if so how?

would also love to see this, would be great to use chrome's built in coverage reporting and have the report generate from that vs needing the babel transform to add the counters