-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remapping html reports #1
Comments
Hmmm... that is interesting. I suspect something has gone awry in what is being submitted to the report writer. Do you get any issues when setting the report to "json"? And if not, would you mind providing that output? Apologies for lack of npm. Should be shorted in the next day or so. |
It only occurs when setting the report to "html". I can't post the json file for privacy reason, but I can tell you is a map generated by transpiling ES6 through babel and it contains the sources embedded in "sourcesContent". When I manually fix the exception by checking the object variable on the if above, it works fine. Thanks to you for your time :) |
Ok, if other reports write fine, I suspect this is an issue with Istanbul and taking a quick look, it does appear others have run into exactly the same issue: gotwarlost/istanbul#429 I am not sure exactly under what conditions it occurs, but I am going to mark this ticket external. |
can't produce an html report
It seems unlikely that the current Istanbul is ever going to resolve this, but the PR at gotwarlost/istanbul#603 likely solves this issue. Eventually the rewrite of Istanbul will be stable and it supports remapping capabilities based on our work in this project. |
As noted earlier, we're not able to fix this, so closing as it requires a fix to old Istanbul. Users needing this should apply one of the suggested workarounds listed above. |
Hi,
Great module! I'm getting the following exception when 'reports' is configured to 'html' in the remapping task.
Btw, the library is not on npm yet :(
Thank you!
The text was updated successfully, but these errors were encountered: