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

Function submitReview

evals/src/smoke.test.ts:13–17  ·  view source on GitHub ↗
(reviewedHead, event)

Source from the content-addressed store, hash-verified

11 const protocol: SmokeProtocol = {
12 async currentHead() { calls.push("head"); return head; },
13 async submitReview(reviewedHead, event) {
14 assert.equal(reviewedHead, head);
15 calls.push(`submit:${event}:${reviewedHead}`);
16 return nextReview++;
17 },
18 async waitForReview(id) { calls.push(`wait:${id}`); },
19 async pushGreeting(greeting) {
20 calls.push(`push:${greeting.trim()}`);

Callers

nothing calls this directly

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected