All you have to do is add sinon.js to the script section of your QUnit ... deepEqual(data, [1, 2, 3], "Right data set"); } }); jQuery.ajax.restore(); });.
確定! 回上一頁