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

Feature Request: ability to ignore helper functions added by transpilers #308

Closed
goatslacker opened this issue Feb 4, 2015 · 3 comments
Closed

Comments

@goatslacker
Copy link

6to5 adds quite a few helper functions to the top of the file, it would be cool to have these ignored by istanbul.

@dgieselaar
Copy link

FYI, this is configurable in babel:
babel/babel#777

Here's what it looks like for karma:

babelPreprocessor: {
            options: {
                auxiliaryComment: 'istanbul ignore next'
            }
        }

@ghost
Copy link

ghost commented Oct 22, 2015

@goatslacker is the auxiliaryComment option sufficient for your needs?

@goatslacker
Copy link
Author

I've been actually transpiling it using the babel external files and then requiring a test helper that auto includes them

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

No branches or pull requests

3 participants