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

Method addList

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

* Adds an HTML list to the summary buffer * * @param {string[]} items list of items to render * @param {boolean} [ordered=false] (optional) if the rendered list should be ordered or not (default: false) * * @returns {Summary} summary instance

(items, ordered = false)

Source from the content-addressed store, hash-verified

19687 if (!url || typeof url !== "string" && typeof url !== "object" && !(url instanceof URL)) {
19688 throw new InvalidArgumentError("invalid url");
19689 }
19690 if (opts != null && typeof opts !== "object") {
19691 throw new InvalidArgumentError("invalid opts");
19692 }
19693 if (opts && opts.path != null) {
19694 if (typeof opts.path !== "string") {
19695 throw new InvalidArgumentError("invalid opts.path");
19696 }
19697 let path4 = opts.path;

Callers

nothing calls this directly

Calls 3

wrapMethod · 0.45
addEOLMethod · 0.45
addRawMethod · 0.45

Tested by

no test coverage detected