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

stores-com / bloodhound / 30507252727 / 1
86%
main: 88%

Build:
Build:
LAST BUILD BRANCH: fedex-package
DEFAULT BRANCH: main
Ran 30 Jul 2026 02:01AM UTC
Files 12
Run time 0s
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

30 Jul 2026 02:00AM UTC coverage: 86.494% (+0.2%) from 86.337%
30507252727.1

Pull #175

github

freshlogic
test: serialize every test that shares the globalThis.fetch mock

CI caught what my local run could not. Nineteen live FedEx tests failed on the first
push: `fedEx.track` and its groups ran with `{ concurrency: true }`, so the fetch mock
belonging to `FedEx estimatedDeliveryDate` was installed while those tests were making
real calls, and they got the estimatedDeliveryTimeWindow fixture instead of FedEx.

nock hid this. It intercepted only the specific host and path it was given, and each
interceptor was consumed once, so a mocked test could safely overlap a live one.
`t.mock.method(globalThis, 'fetch', ...)` is process-wide and cannot.

So every subtest in the files that mock fetch is now awaited, and `concurrency: true`
is gone from those groups. Awaiting is the right thing regardless — an un-awaited
node:test subtest can pass without running its assertions — but with a global mock it
is load-bearing rather than merely tidy.

Locally this looked identical before and after, because the tests it broke need
credentials I do not have. That is the whole reason to read the CI run rather than
trust a local pass.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Pull Request #175: test: drop nock and add UPS fixtures for the response shapes we never covered

312 of 373 branches covered (83.65%)

Branch coverage included in aggregate %.

1494 of 1715 relevant lines covered (87.11%)

17.18 hits per line

Source Files on job 30507252727.1
  • Tree
  • List 12
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 30507252727
  • 0198ef97 on github
  • Prev Job for on remove-nock (#30506674155.1)
  • Next Job for on remove-nock (#30507354936.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc