Snapshot the load-bearing fixture state so we can compare post-run.
| 123 | |
| 124 | /** Snapshot the load-bearing fixture state so we can compare post-run. */ |
| 125 | interface FixtureSnapshot { |
| 126 | versionFile: string; |
| 127 | packageVersion: string; |
| 128 | changelogEntryCount: number; |
| 129 | bumpCommitCount: number; |
| 130 | branchHead: string; |
| 131 | } |
| 132 | |
| 133 | function snapshotFixture(workTree: string): FixtureSnapshot { |
| 134 | const versionFile = fs.readFileSync(path.join(workTree, 'VERSION'), 'utf-8').trim(); |
nothing calls this directly
no outgoing calls
no test coverage detected