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

Function writeSnapshotVersion

packages/jest-snapshot-utils/src/utils.ts:24–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22);
23
24const writeSnapshotVersion = () =>
25 `// Jest Snapshot v${SNAPSHOT_VERSION}, ${SNAPSHOT_GUIDE_LINK}`;
26
27const validateSnapshotHeader = (snapshotContents: string) => {
28 const headerTest = SNAPSHOT_HEADER_REGEXP.exec(snapshotContents);

Callers 1

saveSnapshotFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected