gotwarlost / istanbul

Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests and browser tests. Built for scale.
Other
8.7k stars 786 forks source link

How to un-minify Coverage report ? #849

Open kagarwal29 opened 6 years ago

kagarwal29 commented 6 years ago

I have a quick query.How do I un-minify the JS present in the report? I want the JS present in the report to be in readable format.Currently it all comes in minified format.

I have tried passing

debug:true,embedSource:true,noCompact:true

to Instrumenter constructor but it is not doing anything.