badges / badges/shields

Add tests for badge-cli.js (and other scripts)

Open
#4,868 0 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.