Mocking HTTP is used when you need to intercept a request or response that you would send to a 3rd party service or your backend. These kind of mocks are useful when you are trying to develop an application offline, or you want to write tests, and those tests make a request to 3rd party code.

Tools

MSW