I’m testing the front end of a web application and want to test how some of the transitions appear with various delays in between AJAX requests. Is there any way I can add a sleep(1500) to my controller to delay the response?
I’m testing the front end of a web application and want to test how
Share
Controller like so:
Even better: only add the sleep for the dev environment.