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

Function binaryIconPrefix

packages/utils/src/lib/reports/log-stdout-summary.ts:106–115  ·  view source on GitHub ↗
(
  score: number,
  scoreTarget: number | undefined,
)

Source from the content-addressed store, hash-verified

104}
105
106export function binaryIconPrefix(
107 score: number,
108 scoreTarget: number | undefined,
109): string {
110 return scoreTargetIcon(score, scoreTarget, {
111 passIcon: ansis.bold(ansis.green('✓')),
112 failIcon: ansis.bold(ansis.red('✗')),
113 postfix: ' ',
114 });
115}

Callers 2

logCategoriesFunction · 0.85

Calls 1

scoreTargetIconFunction · 0.85

Tested by

no test coverage detected