Currently, only XHR requests can be mocked using Leonardo. We need to add support for mocking fetch API requests as well.