MCPcopy Create free account
hub / github.com/code-pushup/cli / utils.unit.test.ts

File utils.unit.test.ts

packages/utils/src/lib/reports/utils.unit.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import type { Ansis } from 'ansis';
2import type { Mock } from 'vitest';
3import type { AuditReport, Issue, IssueSeverity } from '@code-pushup/models';
4import { SCORE_COLOR_RANGE } from './constants.js';

Callers

nothing calls this directly

Calls 15

scoreFilterFunction · 0.85
formatReportScoreFunction · 0.85
formatScoreWithColorFunction · 0.85
colorByScoreDiffFunction · 0.85
formatDiffNumberFunction · 0.85
calcDurationFunction · 0.85
countWeightedRefsFunction · 0.85
getPluginNameFromSlugFunction · 0.85
scoreMarkerFunction · 0.85
severityMarkerFunction · 0.85
applyScoreColorFunction · 0.85
scoreTargetIconFunction · 0.85

Tested by

no test coverage detected