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

Method constructor

github-actions/saucelabs/set-saucelabs-env.js:11468–11471  ·  view source on GitHub ↗
(singular, plural)

Source from the content-addressed store, hash-verified

11466 const replyParameters = {
11467 statusCode: replyOptionsCallbackOrStatusCode,
11468 data: arguments[1] === void 0 ? "" : arguments[1],
11469 responseOptions: arguments[2] === void 0 ? {} : arguments[2]
11470 };
11471 this.validateReplyParameters(replyParameters);
11472 const dispatchData = this.createMockScopeDispatchData(replyParameters);
11473 const newMockDispatch = addMockDispatch(this[kDispatches], this[kDispatchKey], dispatchData);
11474 return new MockScope(newMockDispatch);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected