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

This commit is contained in:
Daniel Hwang 2020-06-16 18:41:02 -07:00
commit 3516176a33
No known key found for this signature in database
GPG key ID: 678563C9BB0E60C0
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()