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

safe-global / safe-client-gateway / 19732484228 / 1
89%
main: 89%

Build:
DEFAULT BRANCH: main
Ran 27 Nov 2025 10:10AM UTC
Files 1974
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

27 Nov 2025 10:03AM UTC coverage: 88.575% (-0.03%) from 88.606%
19732484228.1

push

github

web-flow
feat(portfolio): add X-Env testnet header for Zerion API requests (#2806)

* feat(portfolio): add X-Env testnet header for Zerion API requests

Add support for Zerion's testnet API by including the `X-Env: testnet`
header when querying testnet chains. The header is automatically applied
based on the chain's `isTestnet` property.

Changes:
- Update zerion-balances-api.service to use chain.isTestnet
- Update zerion-positions-api.service to use chain.isTestnet
- Update zerion-portfolio-api.service with isTestnet parameter
- Infer isTestnet from chainIds in portfolio API service
- Add separate cache entries for testnet vs mainnet portfolio data

🤖 Generated with [Claude Code](https://claude.com/claude-code)

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

* test(balances): add unit tests for getZerionHeaders helper

Add comprehensive tests for the Zerion API headers helper function
covering mainnet/testnet scenarios and undefined apiKey edge cases.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

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

* refactor(cache): simplify getZerionChainsCacheDir parameter

Use plain boolean parameter instead of object wrapper since there's only
one parameter. Addresses PR review feedback.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

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

---------

Co-authored-by: Claude <noreply@anthropic.com>

2922 of 3770 branches covered (77.51%)

Branch coverage included in aggregate %.

26584 of 29542 relevant lines covered (89.99%)

310.26 hits per line

Source Files on job run-unit-tests - 19732484228.1
  • Tree
  • List 1974
  • Changed 282
  • Source Changed 11
  • Coverage Changed 280
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 19732484228
  • f9012dea on github
  • Prev Job for on main (#19732324349.1)
  • Next Job for on main (#19742300988.2)
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