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

load in instrumenter configuration from .istanbul.yml #16

Merged
merged 4 commits into from
May 23, 2015

Conversation

bcoe
Copy link
Member

@bcoe bcoe commented May 23, 2015

Thanks for the awesome work @shackpank. I added a few tests, but otherwise things seemed to work great. a couple notes:

  • Since nyc relies on the global coverage variable being __coverage__ I've made this value hardcoded (in subprocesses I've seen some issues surrounding accessing process.globals, so I think it's good to push people towards __coverage__).
  • I use the this.cwd directory variable, so that we'll keep loading the appropriate .istanbul.yml as cwd is changed in tests.
  • I've added you as an owner to the GitHub project, I'm excited for any future contributions you might be able to make.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.24%) to 99.26% when pulling c2fbd98 on read_istanbul_config into 8b6f3e6 on master.

bcoe added a commit that referenced this pull request May 23, 2015
load in instrumenter configuration from .istanbul.yml
@bcoe bcoe merged commit 0ae3109 into master May 23, 2015
@bcoe bcoe deleted the read_istanbul_config branch May 23, 2015 20:51
@shackpank
Copy link
Collaborator

👍

Many thanks for following this up, and fixing the things I missed.

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

Successfully merging this pull request may close these issues.

None yet

3 participants