[GitHubHacktoberfest] 2020 (and beyond) (#5549)

* feat: GitHub Hacktoberfest 2020 (and beyond)

* chore: prettify

* refactor: convert to static fields

* refactor: fix spelling in pre-start message

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
This commit is contained in:
Caleb Cartwright
2020-09-20 13:40:47 -05:00
committed by GitHub
parent ff3acce7bb
commit 36395715a5
3 changed files with 83 additions and 55 deletions

View File

@@ -20,7 +20,7 @@ const isHacktoberfestStatus = Joi.alternatives().try(
)
t.create('GitHub Hacktoberfest combined status')
.get('/badges/shields.json')
.get('/2019/badges/shields.json')
.expectBadge({
label: 'hacktoberfest',
message: isHacktoberfestStatus,
@@ -28,7 +28,7 @@ t.create('GitHub Hacktoberfest combined status')
t.create('GitHub Hacktoberfest combined status (suggestion label override)')
.get(
`/badges/shields.json?suggestion_label=${encodeURIComponent(
`/2019/badges/shields.json?suggestion_label=${encodeURIComponent(
'good first issue'
)}`
)