Add tests for badge-cli.js (and other scripts)
Open
developer-experience
- Dominant language
- JavaScript
- Stars
- 27.2k
- Forks
- 5.6k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 46
Description
:clipboard: **Description**
As noted in https://github.com/badges/shields/pull/4865 we broke this and didn't notice because it doesn't have tests. Several other things in `/scripts` have the same problem. It would be useful to add some tests for these.
Contributor guide
Research direction
Start by reading /scripts/badge-cli.js and the regression context in pull request 4865. Then inspect the other files in /scripts to identify similarly untested scripts. Done means badge-cli.js and an agreed set of other scripts have tests that catch the reported breakage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- testing, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100