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

Function getCommonMessage

packages/jest-diff/src/index.ts:29–32  ·  view source on GitHub ↗
(message: string, options?: DiffOptions)

Source from the content-addressed store, hash-verified

27export {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff};
28
29const getCommonMessage = (message: string, options?: DiffOptions) => {
30 const {commonColor} = normalizeDiffOptions(options);
31 return commonColor(message);
32};
33
34const {
35 AsymmetricMatcher,

Callers 4

diffFunction · 0.85
comparePrimitiveFunction · 0.85
compareObjectsFunction · 0.85
getObjectsDifferenceFunction · 0.85

Calls 1

normalizeDiffOptionsFunction · 0.90

Tested by

no test coverage detected