Create a fetch stub.
The stub returns a response from the provided response data or throws an provided error.
Optional
A single response or an array of responses.
The fetch stub.
Create a fetch stub.
The stub returns a response from the provided response data or throws an provided error.