MCPcopy Create free account
hub / github.com/angular-ui/ui-grid / handleTimeout

Function handleTimeout

lib/test/angular/1.4.3/angular-mocks.js:1164–1172  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1162 }
1163
1164 function handleTimeout() {
1165 for (var i = 0, ii = responses.length; i < ii; i++) {
1166 if (responses[i] === handleResponse) {
1167 responses.splice(i, 1);
1168 callback(-1, undefined, '');
1169 break;
1170 }
1171 }
1172 }
1173 }
1174
1175 if (expectation && expectation.match(method, url)) {

Callers

nothing calls this directly

Calls 1

callbackFunction · 0.70

Tested by

no test coverage detected