Problem
When running tests against my code that is running on hermes I have to instrument the code first with istanbul and then gather coverage data from that. This means I am forced to build both instrumented and non-instrumented artifacts which takes time and costs money.
Solution
There seems to be partial support for Profiler (compatible with v8 Profiling) for some sampling, but it would be great if Hermes could support code coverage via Profiler.takePreciseCoverage. Is this on any roadmap anywhere by any chance? If I could use this then I would be able to test my real uninstrumented deployable artifact saving me significant time.
Problem
When running tests against my code that is running on hermes I have to instrument the code first with istanbul and then gather coverage data from that. This means I am forced to build both instrumented and non-instrumented artifacts which takes time and costs money.
Solution
There seems to be partial support for Profiler (compatible with v8 Profiling) for some sampling, but it would be great if Hermes could support code coverage via Profiler.takePreciseCoverage. Is this on any roadmap anywhere by any chance? If I could use this then I would be able to test my real uninstrumented deployable artifact saving me significant time.