Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/request.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ describe('Request', () => {
await closed

const req = newRequest(incomingMessage)
expect(() => req.body).toThrow(TypeError)
await expect(async () => new Response(req.body).text()).rejects.toThrow()
})

it('should reject with the underlying error when a complete stream was destroyed with an application error', async () => {
Expand Down
Loading