Are you struggling to find a way to unit test your Kendo UI code because you have a pesky DataSource in there, and it keeps trying to fetch data from a server? Has that been your excuse for not testing your code? Good news! It isn’t really too hard to mock out those AJAX calls with Mockjax!
With Mockjax we can return “canned” responses to AJAX requests made by DataSources, return HTTP 500 responses to test error handling, and even add latency, all without having to modify our DataSource.
Please jump over to the Falafel blogs to read my full article. I promise it will be worth the click!