Join 40 million developers who use GitHub
issues to help identify, assign, and keep track of the features and
bug fixes your projects need.
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?
to your account
If you try to require a file that has the word "test" in the file, coverage will not be run on that file.
I think the problem is here. I think the end of that regex should read (?!test\/|node_modules\/) by default.
Are you sure just a $ at the end wouldn't be enough ?
Perhaps. You know what they say about regular expressions; if you solve a problem with a regular expression, now you've got two problems.