| 19 | let greeting: string = proposedGreeting; |
| 20 | const reviews: Array<{ id: number; state: string; commit_id: string; body: string }> = []; |
| 21 | const pull = () => ({ |
| 22 | number: 1, html_url: prUrl, state: "open", merged: false, mergeable: true, merge_commit_sha: null, |
| 23 | head: { sha: head, ref: "improve-greeting" }, base: { ref: "main" }, |
| 24 | }); |
| 25 | const fixture: Fixture = { scenario, repo: "sandbox/run", workDir: "/unused", baseSha: "base", initialHead: head, pr: pull() }; |
| 26 | const github = new EventsGitHub("test-only", async (input, init) => { |
| 27 | const url = new URL(String(input)); |