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

Method addTable

github-actions/saucelabs/set-saucelabs-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 clear() {
19701 return __awaiter(this, void 0, void 0, function* () {
19702 return this.emptyBuffer().write({ overwrite: true });
19703 });
19704 }
19705 /**
19706 * Returns the current summary buffer as a string
19707 *
19708 * @returns {string} string of summary buffer
19709 */
19710 stringify() {
19711 return this._buffer;
19712 }
19713 /**
19714 * If the summary buffer is empty
19715 *
19716 * @returns {boolen} true if the buffer is empty
19717 */
19718 isEmptyBuffer() {
19719 return this._buffer.length === 0;
19720 }

Callers

nothing calls this directly

Calls 3

wrapMethod · 0.45
addEOLMethod · 0.45
addRawMethod · 0.45

Tested by

no test coverage detected