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

fix(test): return error when awaiting unresolved promise #7968

Merged

Conversation

bartlomieju
Copy link
Member

This commit fixes test runner by awaitning "Deno.runTests()" call,
which ensures proper error is returned when there's an unresolved
promise that's being awaited.

Fixes #7088

This commit fixes test runner by awaitning "Deno.runTests()" call,
which ensures proper error is returned when there's an unresolved
promise that's being awaited.
@bartlomieju bartlomieju requested a review from ry October 14, 2020 12:10
@bartlomieju bartlomieju changed the title fix(test): don't exit silently when awaiting unresolved promise fix(test): return error when awaiting unresolved promise Oct 14, 2020
Copy link
Member

@ry ry left a comment

Choose a reason for hiding this comment

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

LGTM

@bartlomieju bartlomieju merged commit 12e700b into denoland:master Oct 14, 2020
@bartlomieju bartlomieju deleted the fix_test_unresolved_promise branch October 14, 2020 13:19
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.

async iterator can cause silent process exit in Deno.test()
2 participants