- Notifications
You must be signed in to change notification settings - Fork786
Adds method for listing review comments#404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -240,6 +240,16 @@ describe('Repository', function() { | ||
| done(); | ||
| })); | ||
| }); | ||
| it('should list review comments', function(done) { | ||
| const repo = github.getRepo('michael', 'github'); | ||
Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. This project was moved to the github-tools Organization. You'll want to update this to get the tests working. Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. You'll also want to update based on the latest changes from master that got the tests working again. | ||
| repo.listPullRequestReviewComments(401, assertSuccessful(done, function(err, reviewComments) { | ||
| expect(reviewComments).to.be.an.array(); | ||
| //expect(reviewComments[0]).to.have.own('body', 'Comment test'); //TODO: Need to establish a test PR with test review comments | ||
| done(); | ||
| })); | ||
| }); | ||
| }); | ||
| describe('creating/modifiying', function() { | ||