MCPcopy
hub / github.com/vitest-dev/vitest / errorBanner

Function errorBanner

packages/vitest/src/node/reporters/renderers/utils.ts:40–42  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

38}
39
40export function errorBanner(message: string): string {
41 return divider(c.bold(c.bgRed(` ${message} `)), null, null, c.red)
42}
43
44export function divider(
45 text?: string,

Callers 7

printErrorTypeFunction · 0.90
printUnhandledErrorsMethod · 0.90
printSourceTypeErrorsMethod · 0.90
printErrorsSummaryFunction · 0.90
printLeaksSummaryFunction · 0.90
startFunction · 0.85
collectFunction · 0.85

Calls 1

dividerFunction · 0.85

Tested by

no test coverage detected