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

Function printCommon

packages/expect/src/spyMatchers.ts:62–62  ·  view source on GitHub ↗
(val: unknown)

Source from the content-addressed store, hash-verified

60 .join(', ');
61
62const printCommon = (val: unknown) => DIM_COLOR(stringify(val));
63
64const isEqualValue = (expected: unknown, received: unknown): boolean =>
65 equals(expected, received, [...getCustomEqualityTesters(), iterableEquality]);

Callers 4

printReceivedArgsFunction · 0.85
printDiffCallFunction · 0.85
printResultFunction · 0.85

Calls 1

stringifyFunction · 0.90

Tested by

no test coverage detected