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

resolves #2 add assertExitCode method #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mojavelinux
Copy link

No description provided.

@mojavelinux
Copy link
Author

Let me know if I did this right. I realize there's a lot of duplication of code between this method and assert. Perhaps we can refactor some of it into reusable methods.

I don't think we can support throwing the error message. If it is thrown in _performDone, we end up with a promise rejection error. Adding it to the errors array seems to be the expected behavior, at least for me.

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.

1 participant