//We'll stub $.post so a request is not sent var post = sinon.stub($, 'post'); post.yields(); //We can use a spy as the callback so it's easy to verify var ...
確定! 回上一頁