Merge remote-tracking branch 'actions/master' into gist

This commit is contained in:
Daniel Hwang
2020-06-16 18:41:02 -07:00
9 changed files with 85 additions and 19 deletions

View File

@@ -110,13 +110,6 @@ describe('input-helper tests', () => {
)
})
it('sets correct default ref/sha for other repo', () => {
inputs.repository = 'some-owner/some-other-repo'
const settings: IGitSourceSettings = inputHelper.getInputs()
expect(settings.ref).toBe('refs/heads/master')
expect(settings.commit).toBeFalsy()
})
it('sets correct default ref/sha for gist', () => {
inputs.gist = 'some-owner/some-gist'
const settings: IGitSourceSettings = inputHelper.getInputs()