Skip to content

Commit 3c2042e

Browse files
committed
Merge pull request #369 from pimterry/dropExtraXHRMethodCheck
Drop unnecessary extra getHTTPMethod call
2 parents f5dd894 + 0648720 commit 3c2042e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/sinon/util/fake_server.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ sinon.fakeServer = (function () {
5757
}
5858

5959
function match(response, request) {
60-
var requestMethod = this.getHTTPMethod(request);
6160
var requestUrl = request.url;
6261

6362
if (!/^https?:\/\//.test(requestUrl) || rCurrLoc.test(requestUrl)) {

0 commit comments

Comments
 (0)