Read-only mirror — the public repositories of the Forgejo instance, refreshed every 10 minutes. The live instance (fg.dieschoenewolke.de) is reachable only over the VPN; clone here with https://git.dieschoenewolke.de/git/<owner>/<repo>.git.
summaryrefslogtreecommitdiff
path: root/__test__
diff options
context:
space:
mode:
authoreric sciple <ericsciple@users.noreply.github.com>2020-06-16 13:41:01 -0400
committerGitHub <noreply@github.com>2020-06-16 13:41:01 -0400
commit17570e7adbcebf582c615bdac7f07339940d90e3 (patch)
tree0db6cfd9a09a1bc192bd7f4238f68a627fadd348 /__test__
parent7edd89f0f18ec3de28305003df3cccc46e4c60c9 (diff)
determine default branch (#278)
Diffstat (limited to '__test__')
-rw-r--r--__test__/input-helper.test.ts7
1 files changed, 0 insertions, 7 deletions
diff --git a/__test__/input-helper.test.ts b/__test__/input-helper.test.ts
index 00732ef..920bc8e 100644
--- a/__test__/input-helper.test.ts
+++ b/__test__/input-helper.test.ts
@@ -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 ref to empty when explicit sha', () => {
inputs.ref = '1111111111222222222233333333334444444444'
const settings: IGitSourceSettings = inputHelper.getInputs()