1
0
mirror of https://github.com/badges/shields.git synced 2025-07-05 13:41:14 +03:00

Add [GitHubLastCommit] by committer badge (#8537)

* add github last commit by committer badge

* modify queryParam

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
This commit is contained in:
Paula Barszcz
2022-10-20 21:08:48 +02:00
committed by GitHub
parent a251357881
commit c0087cae67
2 changed files with 35 additions and 3 deletions

View File

@ -14,6 +14,10 @@ t.create('last commit (on branch)')
.get('/badges/badgr.co/shielded.json')
.expectBadge({ label: 'last commit', message: 'july 2013' })
t.create('last commit (by committer)')
.get('/badges/badgr.co/shielded.json?display_timestamp=committer')
.expectBadge({ label: 'last commit', message: 'july 2013' })
t.create('last commit (repo not found)')
.get('/badges/helmets.json')
.expectBadge({ label: 'last commit', message: 'repo not found' })