(at = 15, id = "event-review", reviewId = 7)
| 53 | } |
| 54 | |
| 55 | function stream(at = 15, id = "event-review", reviewId = 7): GhCall["output"][number] { |
| 56 | return { at, stream: "stdout", text: JSON.stringify({ |
| 57 | id, type: "com.github.pull_request.review.submitted.v1", |
| 58 | data: { api_url: `https://api.github.com/repos/sandbox/run/pulls/1/reviews/${reviewId}` }, |
| 59 | }) + "\n" }; |
| 60 | } |
| 61 | |
| 62 | function read(id: string, at: number): GhCall { |
| 63 | return { |
no outgoing calls
no test coverage detected