Skip to content

Commit 4aa6385

Browse files
committed
feat(tests): update test data to include __typename for PullRequest in integration tests
1 parent 14370fc commit 4aa6385

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ test("Comment and add labels on PR included in the releases", async (t) => {
433433
const repo = "test_repo";
434434
const env = { GITHUB_TOKEN: "github_token" };
435435
const failTitle = "The automated release is failing 🚨";
436-
const prs = [{ number: 1, pull_request: true, state: "closed" }];
436+
const prs = [{ number: 1, __typename: "PullRequest", state: "closed" }];
437437
const options = {
438438
repositoryUrl: `https://github.com/${owner}/${repo}.git`,
439439
};

0 commit comments

Comments
 (0)