Personal Telegram developer console for GitHub

test: provide advanced PR fixture

davoodmehraban89 committed Oct 4, 2026 at 17:55 UTC dca73252218c635bb27097e0f0c3d8a6809d26c2
1 file changed +4
test/github-plugin.test.js
+4
@@ -35,6 +35,10 @@ function makeGitHub() {
35 calls.push(`repo:${repoId}`);
36 return { id: String(repoId), name: 'demo', fullName: 'davood/demo' };
37 },
38 + async listPullRequests(repoId) {
39 + calls.push(`prs:${repoId}`);
40 + return [];
41 + },
42 async listWorkflowRuns(repoId) {
43 calls.push(`runs:${repoId}`);
44 return [{