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

Require Node.js 6 and add 100% code coverage #3

Merged
merged 3 commits into from
Feb 21, 2019
Merged

Require Node.js 6 and add 100% code coverage #3

merged 3 commits into from
Feb 21, 2019

Conversation

coreyfarrell
Copy link
Contributor

This gives 100% test coverage on all platforms. Let me know if you dislike what I've done in test/eacces.js. I could setup real EACCES testing for Linux when run as non-root with the path /root/private, but I could not find a path that would provide this test coverage for Windows or Mac.

@sindresorhus sindresorhus changed the title Update pify, drop node.js 4, expand test coverage. Require Node.js 6 and add 100% code coverage Feb 21, 2019
@sindresorhus
Copy link
Owner

Let me know if you dislike what I've done in test/eacces.js.

It's good.

@sindresorhus sindresorhus merged commit efe7650 into sindresorhus:master Feb 21, 2019
@sindresorhus
Copy link
Owner

I'm gonna wait a month before publishing as I want to drop Node.js 6 too so I can drop pify.

@coreyfarrell coreyfarrell deleted the node6 branch February 21, 2019 11:23
@coreyfarrell
Copy link
Contributor Author

I'm gonna wait a month before publishing as I want to drop Node.js 6 too so I can drop pify.

I assume you'll replace with util.promisify and use async/await? I can help update some of your modules to node.js 8 by following npm ls pify on a production install of nyc (we'll be upgrading to node.js 8 as well).

@sindresorhus
Copy link
Owner

Yes. And help more than welcome.

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.

2 participants