-
Notifications
You must be signed in to change notification settings - Fork 63
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
Silly problem when using istanbul with real arrow functions #256
Comments
Ref https://docs.cypress.io/guides/tooling/code-coverage#Using-NYC |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When instrumenting code for code coverage there will be additional operations injected into real arrow functions associated with derive. Since derive doesn't support SequenceExpressions this causes a weird error, that has really no solutions other than either rewriting the code using symbolic string expressions or excluding the whole file from code coverage. I am wondering if by default SequenceExpressions could just be evaluated as the last Expression in the list or maybe some hook to override the functionality of SequenceExpressions?
The text was updated successfully, but these errors were encountered: