Skip to content

Commit

Permalink
add comment to query param test
Browse files Browse the repository at this point in the history
  • Loading branch information
calebcartwright committed Oct 14, 2021
1 parent 33d6e1c commit 9078a35
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions services/github/github-release.tester.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ t.create('Prerelease')
color: Joi.string().allow('blue', 'orange').required(),
})

// basic query parameter testing. application of param in transform
// logic is tested via unit tests in github-release.spec.js
t.create('Release (release name instead of tag name)')
.get('/v/release/expressjs/express.json?display_name=release')
.expectBadge({ label: 'release', message: isSemver, color: 'blue' })
Expand Down

0 comments on commit 9078a35

Please sign in to comment.