File tree 2 files changed +2
-3
lines changed
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[]) {
39
39
report += `<li><span style="font-family: monospace">💡</span> <b>${ grouped . notice . length } </b> notices (suggestions)</li>\n` ;
40
40
}
41
41
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` ;
44
43
}
45
44
if ( grouped . error . length ) {
46
45
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', () => {
119
119
<ul>
120
120
<li><b>6</b> audits in total</li>
121
121
<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>
123
123
<li><span style="font-family: monospace">❌</span> <b>2</b> errors (required)</li>
124
124
</ul>
125
125
You can’t perform that action at this time.
0 commit comments