Chaos Ajax - is your application ready to fail?
· 3 min read
You are creating an application that shows data to the user - doesn't matter if he is searching for some specific thing or he is only listing everything you have. What happens if the server responds with empty array? Or with error? Will your application show only empty space or an error message?
If you want to test this kind of behavior, you can modify the back-end or you know what keyword to search to get an empty response. But there is a better approach.