You can register the ajaxComplete global handler, which will be called every time the AJAX call ends.
With this, you can emulate something like the Jasmine $.ajax.calls.mostRecentCall() property:
$(document).ajaxComplete(function(ev, jqXHR, settings) { $.ajax.mostRecentCall = jqXHR; });
In this case, I save the jqXHR object, and not the exact set of parameters that was passed to $.ajax .
Please note that this will not be filled immediately after calling $.ajax - it will not be filled until at least one call completes.
source share