Async version
Mocks can now take the normal Response body, or can optionally take a function that returns a promise. Basic usage will be setting timeouts to mock a slower connection or server.
Mocks can now take the normal Response body, or can optionally take a function that returns a promise. Basic usage will be setting timeouts to mock a slower connection or server.