• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Tatsh / wiswa / 25671022573 / 5
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 11 May 2026 12:48PM UTC
Files 17
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

11 May 2026 12:45PM UTC coverage: 100.0%. Remained the same
25671022573.5

push

github

Tatsh
tests/test_postprocess: cover typescript non-npmjs registry branch

`_project_type_badges`'s typescript arm only emits the npm shield
badges when `package_json.publishConfig.registry` is empty or points
at `https://registry.npmjs.org`. The false branch - registry set to
a non-npmjs host such as `https://npm.pkg.github.com` - was a
branch-coverage gap (`postprocess.py:562->exit`) because every
existing typescript test either left `publishConfig` empty or set
`private=True`, which short-circuits at the case guard above.

Add a focused regression test that drives `post_process_steps` with
`project_type='typescript'`, `private` unset, and
`package_json.publishConfig.registry='https://npm.pkg.github.com'`.
Empty `dependencies` and `devDependencies` are required to keep the
downstream `_typescript_badges` helper from raising `KeyError`.

The assertions target the precise shield URLs
(`img.shields.io/npm/v/`, `img.shields.io/npm/dm/`) rather than the
broader `npmjs.com` string, because `_typescript_badges` legitimately
emits `npmjs.com/package/...` URLs for individual dependency badges
- only the project-level NPM shields are gated by the registry
check.

Branch coverage is now 100%.

Signed-off-by: Andrew Udvare <audvare@gmail.com>

485 of 485 branches covered (100.0%)

Branch coverage included in aggregate %.

2512 of 2512 relevant lines covered (100.0%)

1.0 hits per line

Source Files on job 25671022573.5
  • Tree
  • List 17
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 25671022573
  • 6a1c55ac on github
  • Prev Job for on master (#25649113488.4)
  • Next Job for on master (#25838906257.1)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc