JSON-P - Sinon.JS
JSON-P
A JSON-P request creates a script element and inserts it into the document.
There is no sufficiently unobtrusive way to fake this automatically. The best option is to stub jQuery in this case:
sinon.stub(jQuery, "ajax");
sinon.assert.calledOnce(jQuery.ajax);