Skip to content

Commit b8c6062

Browse files
Copilotalexr00
andcommitted
Add test for updateBaseBranch method
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
1 parent dd547f8 commit b8c6062

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/test/github/pullRequestModel.test.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,4 +148,14 @@ describe('PullRequestModel', function () {
148148
assert.strictEqual(onDidChangeReviewThreads.getCall(0).args[0]['removed'].length, 0);
149149
});
150150
});
151+
152+
describe('updateBaseBranch', function () {
153+
it('should have updateBaseBranch method', function () {
154+
const pr = new PullRequestBuilder().build();
155+
const model = new PullRequestModel(credentials, telemetry, repo, remote, convertRESTPullRequestToRawPullRequest(pr, repo));
156+
157+
// Verify the method exists
158+
assert.strictEqual(typeof model.updateBaseBranch, 'function');
159+
});
160+
});
151161
});

0 commit comments

Comments
 (0)