Skip to content
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

Document how to ignore code #169

Open
scottdotweb opened this issue Dec 8, 2024 · 0 comments
Open

Document how to ignore code #169

scottdotweb opened this issue Dec 8, 2024 · 0 comments

Comments

@scottdotweb
Copy link

There isn't any documentation of how to ignore code for coverage. Namely, these directives:

  • /* istanbul ignore <word>[non-word] [optional-docs] */
  • /* istanbul ignore if */ and /* istanbul ignore else */
  • /* istanbul ignore next */

I found a detailed guide in the IstanbulJS 1.0 repo. I was going to make a pull request to add it for feedback (presumably the content may need updating), but that repo has a license which says it's copyrighted by Yahoo. I'm happy to go ahead with the PR if the opinion is that's not a problem thanks to something in the project's history.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant