Skip to content

Commit b4995e0

Browse files
committed
chore: add debugging code to figure out why collaborators randomly breaks
1 parent 4268802 commit b4995e0

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

test/issue.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ describe('Issue', function() {
161161
remoteIssues.editMilestone(createdMilestoneId, milestone)
162162
.then(({data: createdMilestone}) => {
163163
expect(createdMilestone).to.have.own('number', createdMilestoneId);
164-
expect(createdMilestone).to.have.own('describe', milestone.description);
164+
expect(createdMilestone).to.have.own('description', milestone.description);
165165

166166
done();
167167
}).catch(done);

test/repository.spec.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,9 @@ describe('Repository', function() {
254254

255255
it('should show repo collaborators', function(done) {
256256
remoteRepo.getCollaborators(assertSuccessful(done, function(err, collaborators) {
257+
if (!(collaborators instanceof Array)) {
258+
console.log(collaborator); // eslint-disable-line
259+
}
257260
expect(collaborators).to.be.an.array();
258261
expect(collaborators).to.have.length(1);
259262

0 commit comments

Comments
 (0)