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

Method addTable

github-actions/browserstack/set-browserstack-env.js:19702–19717  ·  view source on GitHub ↗

* Adds an HTML table to the summary buffer * * @param {SummaryTableCell[]} rows table rows * * @returns {Summary} summary instance

(rows)

Source from the content-addressed store, hash-verified

19700 }
19701 url = new URL(util.parseOrigin(url).origin + path4);
19702 } else {
19703 if (!opts) {
19704 opts = typeof url === "object" ? url : {};
19705 }
19706 url = util.parseURL(url);
19707 }
19708 const { agent, dispatcher = getGlobalDispatcher() } = opts;
19709 if (agent) {
19710 throw new InvalidArgumentError("unsupported opts.agent. Did you mean opts.client?");
19711 }
19712 return fn.call(dispatcher, __spreadProps(__spreadValues({}, opts), {
19713 origin: url.origin,
19714 path: url.search ? `${url.pathname}${url.search}` : url.pathname,
19715 method: opts.method || (opts.body ? "PUT" : "GET")
19716 }), handler);
19717 };
19718 }
19719 module.exports.setGlobalDispatcher = setGlobalDispatcher;
19720 module.exports.getGlobalDispatcher = getGlobalDispatcher;

Callers

nothing calls this directly

Calls 3

wrapMethod · 0.45
addEOLMethod · 0.45
addRawMethod · 0.45

Tested by

no test coverage detected