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

Function testAlignedDiffs

packages/jest-diff/src/__tests__/getAlignedDiffs.test.ts:24–25  ·  view source on GitHub ↗
(a: string, b: string)

Source from the content-addressed store, hash-verified

22};
23
24const testAlignedDiffs = (a: string, b: string): string =>
25 diffStringsUnified(a, b, options);
26
27// 2. Add string serializer to omit double quote marks.
28expect.addSnapshotSerializer({

Callers 1

Calls 1

diffStringsUnifiedFunction · 0.90

Tested by

no test coverage detected