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