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

Refactor tests to ES6 #367

Merged
merged 6 commits into from Feb 22, 2017

Conversation

JPeer264
Copy link
Collaborator

@JPeer264 JPeer264 commented Feb 22, 2017

(#355)
In commit 55aadcf I removed semver, as dependency as it was just used to ignore Node v0.10.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 85.434% when pulling 4182655 on JPeer264:feature/refactor-es6 into 5ff2fc8 on jprichardson:master.

Copy link
Collaborator

@RyanZim RyanZim left a 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
}
Copy link
Collaborator

@RyanZim RyanZim Feb 22, 2017

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.

Copy link
Collaborator Author

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!

@coveralls
Copy link

Coverage Status

Coverage remained the same at 85.434% when pulling d24a98b on JPeer264:feature/refactor-es6 into 5ff2fc8 on jprichardson:master.

@jprichardson jprichardson merged commit 25475c7 into jprichardson:master Feb 22, 2017
@jprichardson
Copy link
Owner

Thanks @JPeer264!

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

4 participants