Open jasonkuhrt opened 1 month ago
Describe the bug
When trying to pass a request object to fetch the following error happens:
TypeError: Failed to parse URL from [object Request]
To Reproduce
const requestObject = new Request(input.url, { method: `POST`, body: '', }) const response = await fetch(requestObject)
Expected behavior Should accept request object in first parameter.
Other
It works with jsdom.
jsdom
Describe the bug
When trying to pass a request object to fetch the following error happens:
To Reproduce
Expected behavior Should accept request object in first parameter.
Other
It works with
jsdom
.