MCPcopy
hub / github.com/garrytan/gstack / FixtureSnapshot

Interface FixtureSnapshot

test/skill-e2e-ship-idempotency.test.ts:125–131  ·  view source on GitHub ↗

Snapshot the load-bearing fixture state so we can compare post-run.

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected