-
Notifications
You must be signed in to change notification settings - Fork 307
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
Coverage is broken in Intern 4.5+ #1158
Comments
4.8.0 exhibits the broken behavior. |
4.4.3 was the last version that doesn't exhibit the double instrumenting behavior. |
The istanbul dependencies were updated in Intern 4.5.0. In particular, |
The problem is with |
The root problem is that, prior to the use of istanbul-lib-hook@2 in Intern 4.5, the |
Resolved in 1160f8e. Intern 5-pre did not have this issue. |
In at least some scenarios, coverage in Intern 4.5+ is broken.
Example:
With Intern 4.8.5 on Node 10.15.3:
This same example with Intern 4.3.6:
Note that the app file is instrumented twice in 4.8.5. That's not good.
The text was updated successfully, but these errors were encountered: