Skip to content

Commit

Permalink
Fix remote in test (closes #730)
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Jan 24, 2021
1 parent b21476a commit 4fdc6cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/github.js
Expand Up @@ -179,7 +179,7 @@ test('should release to git.pushRepo', async t => {
const github = factory(GitHub, { options });
const exec = sinon.stub(github.shell, 'exec').callThrough();
exec.withArgs('git describe --tags --abbrev=0').resolves('1.0.0');
exec.withArgs('git config --get remote.upstream.url').resolves('https://my-custom-host.org/user/repo');
exec.withArgs('git remote get-url upstream').resolves('https://my-custom-host.org/user/repo');

await runTasks(github);

Expand Down

0 comments on commit 4fdc6cf

Please sign in to comment.