Skip to content

Commit 7c461bf

Browse files
patrickhulcebrendankenny
authored andcommitted
fix(report): proper arrow state and consistent capitalization (#2750)
1 parent 78ec647 commit 7c461bf

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lighthouse-core/report/v2/renderer/category-renderer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ class CategoryRenderer {
210210
*/
211211
_renderAuditGroup(group, opts) {
212212
const expandable = opts.expandable;
213-
const element = this._dom.createElement(expandable ? 'details' :'div', 'lh-audit-group');
213+
const element = this._dom.createElement(expandable ? 'details' : 'div', 'lh-audit-group');
214214
const summmaryEl = this._dom.createChildOf(element, 'summary', 'lh-audit-group__summary');
215215
const headerEl = this._dom.createChildOf(summmaryEl, 'div', 'lh-audit-group__header');
216216
this._dom.createChildOf(summmaryEl, 'div',
@@ -338,7 +338,7 @@ class CategoryRenderer {
338338
const nonPassedAudits = nonManualAudits.filter(audit => !passedAudits.includes(audit));
339339

340340
const nonPassedElem = this._renderAuditGroup({
341-
title: `${nonPassedAudits.length} failed audits`,
341+
title: `${nonPassedAudits.length} Failed Audits`,
342342
}, {expandable: false});
343343
nonPassedElem.classList.add('lh-failed-audits');
344344
nonPassedAudits.forEach(audit => nonPassedElem.appendChild(this._renderAudit(audit)));

lighthouse-core/report/v2/report-styles.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)