- Notifications
You must be signed in to change notification settings - Fork317
Refactor index.js & add more tests#223
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
codecov-io commentedApr 16, 2017 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Codecov Report
@@ Coverage Diff @@## master #223 +/- ##===========================================- Coverage 83.56% 69.34% -14.22%=========================================== Files 5 5 Lines 146 137 -9 ===========================================- Hits 122 95 -27- Misses 24 42 +18
Continue to review full report at Codecov.
|
Sorry for delay, will review on this week. |
But it looks pretty good! |
src/index.js Outdated
| logErrors, | ||
| diffPredicate, | ||
| }=loggerOptions; | ||
| functionnoLogger(options){ |
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.
hasLogger maybe?
Can you please fix merge conflicts? |
mfeniseycopes commentedMay 19, 2017 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Renamed |
@evgenyrodionov Have you had a chance to look this over? |
imevro commentedJun 30, 2017 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@mfeniseycopes yes, after#234. Sorry for a delay, too busy now. |
Refactors
index.jsto utilize more helper methods and make code more semantic. No changes in logic or naming conventions, just shifting things around. Also, moves early returns to the top of createLogger to prevent unnecessary assignments and variable creation.Also, adds more specs to
index.spec.js(still needs more though) and moves helper tests tohelpers.spec.js.Let me know what you think!