MCPcopy Create free account
hub / github.com/angular/dev-infra / [kMockAgentSet]

Method [kMockAgentSet]

github-actions/browserstack/set-browserstack-env.js:11605–11607  ·  view source on GitHub ↗
(origin, dispatcher)

Source from the content-addressed store, hash-verified

11603 this[kOriginalDispatch] = this.dispatch;
11604 this[kOriginalClose] = this.close.bind(this);
11605 this.dispatch = buildMockDispatch.call(this);
11606 this.close = this[kClose];
11607 }
11608 get [Symbols.kConnected]() {
11609 return this[kConnected];
11610 }

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected