Skip to content

Commit

Permalink
Add test for invalid branch in [GithubCommitActivity]
Browse files Browse the repository at this point in the history
  • Loading branch information
jNullj committed Jun 14, 2023
1 parent cdec770 commit c5411f7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions services/github/github-commit-activity.tester.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,10 @@ t.create('commit activity (repo not found)')
label: 'commit activity',
message: 'repo not found',
})

t.create('commit activity (invalid branch)')
.get('/w/badges/shields/invalidBranchName.json')
.expectBadge({
label: 'commit activity',
message: 'invalid branch',
})

0 comments on commit c5411f7

Please sign in to comment.