Personal Telegram developer console for GitHub
test: align issue fixture with paged provider contract
davoodmehraban89 committed
Oct 3, 2026 at 09:38 UTC
9fbd33f3ad436c9519d521d704b6f7b882a2bbdd
1 file changed
+1
test/github-advanced-plugin.test.js
+1
@@ -28,6 +28,7 @@ function makeGitHub() {
28
async listPullRequestFiles() { return hit('listPullRequestFiles', [{ filename: 'src/x.js', status: 'modified', additions: 3, deletions: 1, changes: 4, patch: '+x' }]); },
29
async listCommitChecks() { return hit('listCommitChecks', [{ id: 7, name: 'CI', status: 'completed', conclusion: 'success' }]); },
30
async listIssues() { return hit('listIssues', [{ number: 4, title: 'Bug', state: 'open', author: 'u', comments: 2 }]); },
31
+ async listIssuesPage() { return hit('listIssuesPage', { items: [{ number: 4, title: 'Bug', state: 'open', author: 'u', comments: 2 }], hasMore: false }); },
32
async listReleases() { return hit('listReleases', [{ id: 6, tag: 'v1.2.0', name: 'Release 1.2', draft: false, prerelease: false, publishedAt: '2026-10-03T00:00:00Z' }]); },
33
async rerunFailedWorkflowRun() {},
34
async cancelWorkflowRun() {}