Skip to content

Commit fec2e6a

Browse files
committed
Merge branch 'master' of ssh://github.com/necojackarc/auto-request-review
2 parents 4bc5b46 + a39c70b commit fec2e6a

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

test/reviewer.test.js

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -147,20 +147,7 @@ describe('reviewer', function() {
147147
};
148148

149149
const stub = sinon.stub(github, 'get_team_members');
150-
stub.withArgs('koopa-troop').returns([
151-
{
152-
login: 'bowser',
153-
id: 1,
154-
},
155-
{
156-
login: 'king-boo',
157-
id: 2,
158-
},
159-
{
160-
login: 'goomboss',
161-
id: 3,
162-
},
163-
]);
150+
stub.withArgs('koopa-troop').returns([ 'bowser', 'king-boo', 'goomboss' ]);
164151

165152
it('returns nothing when config does not have a "per-author" key', function() {
166153
const author = 'THIS DOES NOT MATTER';

0 commit comments

Comments
 (0)