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

Method addQuote

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

* Adds an HTML blockquote to the summary buffer * * @param {string} text quote text * @param {string} cite (optional) citation url * * @returns {Summary} summary instance

(text, cite)

Source from the content-addressed store, hash-verified

19783 */
19784 addTable(rows) {
19785 const tableBody = rows.map((row) => {
19786 const cells = row.map((cell) => {
19787 if (typeof cell === "string") {
19788 return this.wrap("td", cell);
19789 }
19790 const { header, data, colspan, rowspan } = cell;
19791 const tag = header ? "th" : "td";
19792 const attrs = Object.assign(Object.assign({}, colspan && { colspan }), rowspan && { rowspan });

Callers

nothing calls this directly

Calls 3

wrapMethod · 0.45
addEOLMethod · 0.45
addRawMethod · 0.45

Tested by

no test coverage detected