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