| 81 | const fs = yield* FileSystem.FileSystem |
| 82 | const snapshotter = yield* Snapshotter |
| 83 | const extract = (repoRoot: string, ref: string) => |
| 84 | snapshotter.extract({ |
| 85 | repoRoot, |
| 86 | ref, |
| 87 | sha: ref.repeat(40), |
| 88 | modules: ["@fixture/sample/Value"] |
| 89 | }) |
| 90 | const baseRoot = yield* fs.makeTempDirectoryScoped({ prefix: "api-diff-literal-base-" }) |
| 91 | const headRoot = yield* fs.makeTempDirectoryScoped({ prefix: "api-diff-literal-head-" }) |
| 92 | yield* writeFixturePackage(baseRoot, { "Value.d.ts": "export type Value = 1\n" }) |