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

stores-com / usps / 26414053203
100%

Build:
DEFAULT BRANCH: main
Ran 25 May 2026 06:16PM UTC
Jobs 1
Files 1
Run time 1min
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

25 May 2026 06:16PM UTC coverage: 100.0%. Remained the same
26414053203

push

github

freshlogic
Mock global.fetch in tests instead of calling the live USPS API

The tracking tests hit the live USPS sandbox (apis-tem.usps.com), which
intermittently returns 503 and had kept CI red for weeks. Replace fetch
with a node:test mock that routes the oauth and tracking endpoints to
canned responses — no live calls, no new dependencies.

Runs serially (global fetch mocking and concurrency don't mix) and
clears the memory-cache token singleton between tests. The invalid-URL
test still uses real fetch to assert its parse error.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

13 of 13 branches covered (100.0%)

Branch coverage included in aggregate %.

82 of 82 relevant lines covered (100.0%)

5.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26414053203.1 25 May 2026 06:16PM UTC 1
100.0
GitHub Action Run
Source Files on build 26414053203
  • Tree
  • List 1
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #26414053203
  • f32996b4 on github
  • Prev Build on main (#22679722600)
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