Skip to content

Commit b2602e6

Browse files
authored
Merge pull request #1197 from webstech/ci-helper-test
ci: stop `API rate limit exceeded` failures
2 parents 5c709e7 + e90a307 commit b2602e6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/ci-helper.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,7 @@ test("handle push/comment too many commits fails", async () => {
757757
login: "ggg",
758758
name: "e. e. cummings",
759759
},
760-
message: `commit ${i}`,
760+
message: `commit ${i}\n\nSome text\n\nSigned-off-by: x`,
761761
parentCount: 1,
762762
});
763763
}
@@ -793,6 +793,7 @@ test("handle push/comment too many commits fails", async () => {
793793
ci.setGHGetPRInfo(prInfo);
794794
ci.setGHGetPRComment(comment);
795795
ci.setGHGetGitHubUserInfo(user);
796+
ci.setGHGetPRCommits(commits);
796797

797798
const failMsg = `The pull request has ${commits.length} commits.`;
798799
// fail for too many commits on push

0 commit comments

Comments
 (0)