Mock web API requests for use in front-end testing