-
Notifications
You must be signed in to change notification settings - Fork 786
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
Istanbul doesn't play nicely with sandboxed-module #108
Comments
Low-tech inelegant solution:
As I said, fugly :) |
Thanks. I actually have started a really nasty monkey patch in lieu of this. I've got everything working up until the report generation (because, grossly, the sandboxed-module code will be a couple of lines longer than the actual file listing). |
Just updated the gist, glad to report that I got this monkey patch of sandboxed-module playing completely nicely with istanbul: https://gist.github.com/searls/7001427 |
I require each of my units with sandboxed-module so that I can isolate it from its collaborators, but unfortunately this approach means istanbul never instruments the code that's loaded (and requiring it separately doesn't work either).
More discussion here.
The text was updated successfully, but these errors were encountered: