Linked Questions

Popular Questions

React BDD with custom api call (Mock response)

Asked by At

I doing BDD with cucumberjs, selenium-webdriver & react. In one of scenario, I want to make Mock API call instead of actually API call.

Example -> I am calling

http://example.com/v1/getData

But I want to call

http://myapi.com/v1/getData

without modifying actual code

Related Questions