File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -39,8 +39,7 @@ export async function renderAuditResultsToHTML(results: AuditResult[]) {
3939 report += `<li><span style="font-family: monospace">💡</span> <b>${ grouped . notice . length } </b> notices (suggestions)</li>\n` ;
4040 }
4141 if ( grouped . warn . length ) {
42- // TODO: warning sign is rendered as "⚠️" in markdown instead of the emoji
43- report += `<li><span style="font-family: monospace">⚠️</span> <b>${ grouped . warn . length } </b> warnings (optional)</li>\n` ;
42+ report += `<li><span style="font-family: monospace">❗️</span> <b>${ grouped . warn . length } </b> warnings (optional)</li>\n` ;
4443 }
4544 if ( grouped . error . length ) {
4645 report += `<li><span style="font-family: monospace">❌</span> <b>${ grouped . error . length } </b> errors (required)</li>\n` ;
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ describe('Render audit results to HTML', () => {
119119 <ul>
120120 <li><b>6</b> audits in total</li>
121121 <li><span style="font-family: monospace">✅</span> <b>2</b> pass</li>
122- <li><span style="font-family: monospace">⚠ ️</span> <b>2</b> warnings (optional)</li>
122+ <li><span style="font-family: monospace">❗ ️</span> <b>2</b> warnings (optional)</li>
123123 <li><span style="font-family: monospace">❌</span> <b>2</b> errors (required)</li>
124124 </ul>
125125
You can’t perform that action at this time.
0 commit comments