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

Update unhandled-rejection test to use a server #152

Merged
merged 3 commits into from
Sep 28, 2022

Conversation

javivelasco
Copy link
Member

When we are streaming and equeue a bad chunk we are correctly emitting an unhandled rejection but aside from this we must finish the response to make sure the client doesn't hang waiting for more chunks. With this PR we tweak the test for unhandled rejection so that it uses the server and we can also assert that the response is correctly finished.

@changeset-bot
Copy link

changeset-bot bot commented Sep 28, 2022

🦋 Changeset detected

Latest commit: 880dc62

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
edge-runtime Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Sep 28, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
edge-runtime ✅ Ready (Inspect) Visit Preview Sep 28, 2022 at 11:54AM (UTC)

@javivelasco javivelasco merged commit da34c7a into main Sep 28, 2022
@javivelasco javivelasco deleted the fix/close-socket-on-rejection branch September 28, 2022 15:31
@Kikobeats Kikobeats mentioned this pull request Oct 24, 2022
jridgewell pushed a commit to jridgewell/edge-runtime that referenced this pull request Jun 23, 2023
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.

2 participants