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

safe-global / safe-core-sdk / 26101795586 / 1
80%
main: 80%

Build:
DEFAULT BRANCH: main
Ran 19 May 2026 01:56PM UTC
Files 42
Run time 2s
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

19 May 2026 01:53PM UTC coverage: 80.132% (+1.9%) from 78.235%
26101795586.1

push

github

web-flow
feat(api-kit): add HttpError class with statusCode and improve sendRequest (#1340)

- Add HttpError extends Error with statusCode and data properties,
  exported from the public API so callers can detect specific HTTP
  errors (e.g. 429 rate limits) via instanceof checks
- Refactor sendRequest to use response.text() instead of response.json(),
  making the empty-body path (204/201 no-content) explicit and surfacing
  malformed 2xx responses as a SyntaxError instead of silently returning
  undefined
- Fix sendRequest stub in index.test.ts being declared at module scope,
  which infected all test files during mocha's loading phase; moved into
  before/after hooks with sinon.restore()
- Add unit tests for sendRequest covering all response paths

267 of 409 branches covered (65.28%)

Branch coverage included in aggregate %.

947 of 1106 relevant lines covered (85.62%)

4.91 hits per line

Source Files on job 26101795586.1
  • Tree
  • List 42
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 26101795586
  • 0311a131 on github
  • Prev Job for on main (#26088363737.1)
  • Next Job for on main (#26106376681.1)
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