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

Function getStatusText

github-actions/browserstack/set-browserstack-env.js:11050–11052  ·  view source on GitHub ↗
(statusCode)

Source from the content-addressed store, hash-verified

11048 }
11049 function addMockDispatch(mockDispatches, key, data) {
11050 const baseData = { timesInvoked: 0, times: 1, persist: false, consumed: false };
11051 const replyData = typeof data === "function" ? { callback: data } : __spreadValues({}, data);
11052 const newMockDispatch = __spreadProps(__spreadValues(__spreadValues({}, baseData), key), { pending: true, data: __spreadValues({ error: null }, replyData) });
11053 mockDispatches.push(newMockDispatch);
11054 return newMockDispatch;
11055 }

Callers 1

handleReplyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected