Closed aheber closed 5 years ago
Thanks for the contribution! Before we can merge this, we need @aheber to sign the Salesforce.com Contributor License Agreement.
@esalman-sfdc could you provide some feedback on this PR? Thanks.
@aheber I'm really sorry this got ignored. The product transferred ownership and the emails weren't going to anyone.
I'm taking a look.
If JS has been instrumented by Istanbul it logs its coverage information into the
window.__coverage__
variable. To pull coverage information down to the client it must be stored in a div, exactly the same as the test runner.Might still have some issues related to crossing LockerService boundaries but will cover most use cases.
(newline added by GitHub editor but decided to leave the change, feel free to reject and I can adjust)