MCPcopy Create free account
hub / github.com/angular/dev-infra / buildMockOptions

Function buildMockOptions

github-actions/saucelabs/set-saucelabs-env.js:11155–11160  ·  view source on GitHub ↗
(opts)

Source from the content-addressed store, hash-verified

11153 (_b = handler.onHeaders) == null ? void 0 : _b.call(handler, statusCode, responseHeaders, resume, getStatusText(statusCode));
11154 (_c = handler.onData) == null ? void 0 : _c.call(handler, Buffer.from(responseData));
11155 (_d = handler.onComplete) == null ? void 0 : _d.call(handler, responseTrailers);
11156 deleteMockDispatch(mockDispatches, key);
11157 }
11158 function resume() {
11159 }
11160 return true;
11161 }
11162 function buildMockDispatch() {
11163 const agent = this[kMockAgent];

Callers 1

constructorMethod · 0.70

Calls 1

__objRestFunction · 0.70

Tested by

no test coverage detected