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

Method #formatDurationSuffix

packages/utils/src/lib/logger.ts:516–525  ·  view source on GitHub ↗
({
    start,
    end,
  }: {
    start: number;
    end: number;
  })

Source from the content-addressed store, hash-verified

514 }
515
516 #formatDurationSuffix({
517 start,
518 end,
519 }: {
520 start: number;
521 end: number;
522 }): string {
523 const duration = formatDuration(end - start);
524 return ansis.gray(`(${duration})`);
525 }
526}
527
528/**

Callers 2

groupMethod · 0.95
#spinnerMethod · 0.95

Calls 1

formatDurationFunction · 0.85

Tested by

no test coverage detected