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

Function buildMockOptions

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

Source from the content-addressed store, hash-verified

11153 } else if (data instanceof ArrayBuffer) {
11154 return data;
11155 } else if (typeof data === "object") {
11156 return JSON.stringify(data);
11157 } else {
11158 return data.toString();
11159 }
11160 }
11161 function getMockDispatch(mockDispatches, key) {
11162 const basePath = key.query ? buildURL(key.path, key.query) : key.path;
11163 const resolvedPath = typeof basePath === "string" ? safeUrl(basePath) : basePath;

Callers 1

constructorMethod · 0.70

Calls 1

__objRestFunction · 0.70

Tested by

no test coverage detected