MCPcopy Create free account
hub / github.com/cli/cli / fixture

Function fixture

evals/src/harness.test.ts:96–105  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

94});
95
96function fixture(): Fixture {
97 return {
98 scenario: "full-delegation", repo: "sandbox/run", workDir: "/unused",
99 baseSha: "base", initialHead: "initial",
100 pr: {
101 number: 1, html_url: "https://github.com/sandbox/run/pull/1", state: "open", merged: false, mergeable: true,
102 merge_commit_sha: null, head: { sha: "initial", ref: "improve-greeting" }, base: { ref: "main" },
103 },
104 };
105}
106
107test("actor waits for readiness, requests a fix, and approves only the verified pushed head", async t => {
108 const data = fixture();

Callers 1

harness.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected