-
-
Notifications
You must be signed in to change notification settings - Fork 298
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
Add tests for the config #495
Conversation
Could you add tests for more edge cases? (e.g. global config is only used when the global |
I added tests for the two only-edge cases. |
fe98489
to
5a43042
Compare
@bunysae Thanks for working on this! I left a couple of comments for you to take a look at, and overall this looks really solid (just a few implementation details I wanted to sort out). |
After @itaisteinherz comments i refactored the tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bunysae Thanks for working on this!
Fixes #381. I used
proxyquire
for mocking the dependenciesis-installed-globally
andpkg-dir
. Mocking withsinon
was not possible.IssueHunt Summary
Referenced issues
This pull request has been submitted to:
IssueHunt has been backed by the following sponsors. Become a sponsor