MCPcopy Create free account
hub / github.com/code-pushup/cli / severityMarker

Function severityMarker

packages/utils/src/lib/reports/utils.ts:105–113  ·  view source on GitHub ↗
(severity: 'info' | 'warning' | 'error')

Source from the content-addressed store, hash-verified

103}
104
105export function severityMarker(severity: 'info' | 'warning' | 'error'): string {
106 if (severity === 'error') {
107 return '🚨';
108 }
109 if (severity === 'warning') {
110 return '⚠️';
111 }
112 return 'ℹ️';
113}
114
115const MIN_NON_ZERO_RESULT = 0.1;
116

Callers 2

auditDetailsIssuesFunction · 0.85
utils.unit.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected