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

add async rejects assertion #19

Merged
merged 1 commit into from
May 25, 2020
Merged

add async rejects assertion #19

merged 1 commit into from
May 25, 2020

Conversation

ryanatkn
Copy link
Owner

@ryanatkn ryanatkn commented May 25, 2020

This adds the async test assertion rejects to complement the synchronous throws. I needed it for Felt. The tests for rejects might make your eyes glaze over (they did to me), but they're pretty simple - just copy/pasted from the throws tests with async sprinkled in, with two cases added to test promise arguments.

It also cleans up some things and removes some ancient test code that was being ignored.

@ryanatkn ryanatkn merged commit 6350d8d into master May 25, 2020
@ryanatkn ryanatkn deleted the add-rejects-assertion branch May 25, 2020 20:28
@ryanatkn
Copy link
Owner Author

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