MCPcopy Create free account
hub / github.com/angular/components / skipHttpsAudits

Function skipHttpsAudits

docs/tools/lighthouse-audit.mjs:287–290  ·  view source on GitHub ↗

* Logs the audits skipped based on the contents of a constant and updates the Lighthouse * config to skip those audits. * @param {LH.Config.Json} config

(config)

Source from the content-addressed store, hash-verified

285 * @param {LH.Config.Json} config
286 */
287function skipHttpsAudits(config) {
288 console.log(` Skipping HTTPS-related audits: ${SKIPPED_HTTPS_AUDITS.join(', ')}`);
289 config.settings = {...config.settings, skipAudits: SKIPPED_HTTPS_AUDITS};
290}

Callers 1

_mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected