-
Notifications
You must be signed in to change notification settings - Fork 775
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
Refactor tests to ES6 #367
Refactor tests to ES6 #367
Conversation
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.
PR overall looks good to me, I left one inline comment where shorthand could be used. If you change that, please rebase it into the correct commit. Thanks!
Travis build status hooks seem to be having trouble, the actual Travis build passed, the status hook never updated.
const replacer = (k, v) => { | ||
if (v === 'JP') return 'Jon Paul' | ||
return v | ||
} |
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.
Could be shortened to:
const replacer = (k, v) => v === 'JP' ? 'Jon Paul' : v
It's up to you if you want to shorten this or not.
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.
That's a good one - it is updated. Thanks!
Thanks @JPeer264! |
(#355)
In commit 55aadcf I removed
semver
, as dependency as it was just used to ignore Node v0.10.