How to build a Response object with the 'url' property set
Writing unit tests. Some functions parse Response objects. How do I create some where the
Crafting
url property isn't an empty string?Crafting
statusText and headers to mimick a server response from a certain host doesn't seem to work.