Update sinon to version 1.17.0

This commit is contained in:
Jesse Zoldak
2015-07-07 14:41:03 -04:00
committed by Andy Armstrong
parent 45176c7254
commit 1aa181c90a
18 changed files with 6298 additions and 4338 deletions

View File

@@ -117,7 +117,11 @@ define(['sinon', 'underscore', 'URI'], function(sinon, _, URI) {
};
/**
* Verify that the request was reset, and then skip it.
* Verify that the HTTP request was marked as reset, and then skip it.
*
* Note: this is typically used when code has explicitly canceled a request
* after it has been sent. A good example is when a user chooses to cancel
* a slow running search.
*/
skipResetRequest = function(requests) {
var request = currentRequest(requests);