Have you tried the $.ajax with update 1.5 and found out if you can call .resolve on jqXHR .
Until you delete the .promise only .promise object with a delay, you can fake ajax request termination.
An alternative, you can always just mock the node.js server.
Anywhere where you can connect and get the jqXHR object, you can call .resolve on it using mock parameters.
source share