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

Function message

packages/jest-snapshot/src/index.ts:346–355  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

344 const count = matched === null ? 1 : Number(matched[1]);
345
346 const message = () =>
347 `${matcherHintFromConfig(config, false)}\n\n${printSnapshotName(
348 currentTestName,
349 hint,
350 count,
351 )}\n\n${printPropertiesAndReceived(
352 properties,
353 received,
354 snapshotState.expand,
355 )}`;
356
357 return {
358 message,

Callers 1

Calls 3

matcherHintFromConfigFunction · 0.90
printSnapshotNameFunction · 0.85

Tested by

no test coverage detected