-
Notifications
You must be signed in to change notification settings - Fork 7k
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
async attempt #5837
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
attempt currently does not catch errors that come from promises. Instead, it will throw. I tried to send a PR for this, but the contribution docs look old (test files are named with .spec, not .test). I don't see how you're running tests.
For example, this will throw:
However, if we have an async version that awaits the promise before, we can get the same results:
Now we get the expected results:
The text was updated successfully, but these errors were encountered: