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

Setup tests #14

Merged
merged 4 commits into from
Mar 23, 2016
Merged

Setup tests #14

merged 4 commits into from
Mar 23, 2016

Conversation

levithomason
Copy link
Contributor

This PR finishes ava setup and adds a single test as an example. More tests and utlis will be created in separate PRs.

@@ -18,7 +18,7 @@ const CMD_BLACKLIST = [
'exec',
];

const shx = (argv) => {
export const shx = (argv) => {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In order to more easily spy/stub default exports, I moved us to named exports. This gives us an import object whose properties we can easily stub. Reference sinonjs/sinon#664.

@ariporad
Copy link
Contributor

@levithomason: LGTM! But could you rebase off master? (Also, either you or @nfischer needs to comment LGTM, LGTM is configured to require two approvals).

@nfischer
Copy link
Member

@ariporad could we bump lgtm.co down to just one other approval? I think the PR writer implicitly approves of his/her code, so I think one explicit "looks good to me" is enough. I don't want the red-tape to get in the way of development.

@nfischer
Copy link
Member

Tried this out. Seems to do the job, so LGTM. If there are any issues, I'm sure we can resolve them down the road.

@nfischer
Copy link
Member

@levithomason could we get this rebased off master? After that, feel free to merge 👍

@levithomason
Copy link
Contributor Author

Thanks, will try to get this rebased/merged today.

@levithomason
Copy link
Contributor Author

@ariporad / @nfischer well that is a bummer, rebase apparently kills the LGTM check. Might need them again unless I can submit it myself...

EDIT

Indeed, I can :)

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.

3 participants