MCPcopy
hub / github.com/jestjs/jest / printDeleteLine

Function printDeleteLine

packages/jest-diff/src/joinAlignedDiffs.ts:39–56  ·  view source on GitHub ↗
(
  line: string,
  isFirstOrLast: boolean,
  {
    aColor,
    aIndicator,
    changeLineTrailingSpaceColor,
    emptyFirstOrLastLinePlaceholder,
  }: DiffOptionsNormalized,
)

Source from the content-addressed store, hash-verified

37 );
38
39const printDeleteLine = (
40 line: string,
41 isFirstOrLast: boolean,
42 {
43 aColor,
44 aIndicator,
45 changeLineTrailingSpaceColor,
46 emptyFirstOrLastLinePlaceholder,
47 }: DiffOptionsNormalized,
48): string =>
49 printDiffLine(
50 line,
51 isFirstOrLast,
52 aColor,
53 aIndicator,
54 changeLineTrailingSpaceColor,
55 emptyFirstOrLastLinePlaceholder,
56 );
57
58const printInsertLine = (
59 line: string,

Callers 2

pushDeleteLineFunction · 0.85
joinAlignedDiffsExpandFunction · 0.85

Calls 1

printDiffLineFunction · 0.85

Tested by

no test coverage detected