()
| 1402 | } |
| 1403 | |
| 1404 | function handleTimeout() { |
| 1405 | for (var i = 0, ii = responses.length; i < ii; i++) { |
| 1406 | if (responses[i] === handleResponse) { |
| 1407 | responses.splice(i, 1); |
| 1408 | callback(-1, undefined, '', undefined, 'timeout'); |
| 1409 | break; |
| 1410 | } |
| 1411 | } |
| 1412 | } |
| 1413 | } |
| 1414 | |
| 1415 | if (expectation && expectation.match(method, url)) { |
nothing calls this directly
no test coverage detected