Personal Telegram developer console for GitHub

test(github): add PR fixture for consolidated route

davoodmehraban89 committed Oct 4, 2026 at 17:57 UTC dad11c974bbf70b916bfe745fcedeacd8dbc704e
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(`pr:${repoId}`);
40 + return [{ number: 19, title: 'Feature', author: 'dev', state: 'open', merged: false }];
41 + },
42 async listWorkflowRuns(repoId) {
43 calls.push(`runs:${repoId}`);
44 return [{