Skip to content

Commit

Permalink
Add missing stubs in github test
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Jan 17, 2021
1 parent 2899530 commit e56f378
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/github.js
Expand Up @@ -109,6 +109,8 @@ test('should update release and upload assets', async t => {
const github = factory(GitHub, { options });
const exec = sinon.stub(github.shell, 'exec').callThrough();
exec.withArgs('git describe --tags --abbrev=0').resolves('2.0.1');
exec.withArgs('git rev-list 2.0.1 --tags --max-count=1').resolves('71f1812');
exec.withArgs('git describe --tags --abbrev=0 71f1812').resolves('2.0.1');

interceptAuthentication();
interceptCollaborator();
Expand Down

0 comments on commit e56f378

Please sign in to comment.