Skip to content
This repository has been archived by the owner on Dec 8, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants