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

Function pushDeleteLine

packages/jest-diff/src/joinAlignedDiffs.ts:188–192  ·  view source on GitHub ↗
(line: string)

Source from the content-addressed store, hash-verified

186 };
187
188 const pushDeleteLine = (line: string): void => {
189 const j = lines.length;
190 lines.push(printDeleteLine(line, j === 0 || j === jLast, options));
191 aEnd += 1;
192 };
193
194 const pushInsertLine = (line: string): void => {
195 const j = lines.length;

Callers 1

joinAlignedDiffsNoExpandFunction · 0.85

Calls 1

printDeleteLineFunction · 0.85

Tested by

no test coverage detected