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

Improve tests for the timeout option #332

Merged
merged 1 commit into from
Jun 27, 2019
Merged

Conversation

ehmicky
Copy link
Collaborator

@ehmicky ehmicky commented Jun 27, 2019

One of the tests for the timeout option was wrong: the message validation was passed as argument to execa instead of t.throwsAsync().

This PR also adds a test checking timeout when it's set to 0.

@sindresorhus
Copy link
Owner

Can you fix the conflict?

@ehmicky
Copy link
Collaborator Author

ehmicky commented Jun 27, 2019

Fixed.

@sindresorhus sindresorhus merged commit 0241d6e into master Jun 27, 2019
@sindresorhus sindresorhus deleted the test/fix-timeout-tests branch June 27, 2019 18:48
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

2 participants