Skip to content

test(request): accept asynchronous body read errors - #403

Open
usualoma wants to merge 1 commit into
mainfrom
fix-node-24-body-read-test
Open

usualoma wants to merge 1 commit into
mainfrom
fix-node-24-body-read-test

Conversation

@usualoma

Copy link
Copy Markdown
Member

On Node.js v24.21.0, the partial-body recovery test fails because accessing req.body no longer throws synchronously; consuming the body rejects with an AbortError instead.

@usualoma

Copy link
Copy Markdown
Member Author

On the main branch before the fix, the test fails with the following result:

https://github.com/honojs/node-server/actions/runs/36354931734/job/108720665237?pr=402

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