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

safe-global / safe-client-gateway / 9518177005
89%

Build:
DEFAULT BRANCH: main
Ran 14 Jun 2024 02:59PM UTC
Jobs 2
Files 611
Run time 2min
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

14 Jun 2024 02:58PM UTC coverage: 92.219% (-0.01%) from 92.231%
9518177005

push

github

web-flow
Standardise API managers, clearing on `CHAIN_UPDATE` (#1640)

Refactors the `IBlockchainApiManager`, `ITransactionApiManager` and `IBalancesApiManager` to implement a common `IApiManager` interface for creating and destroying API instances. The destruction of said instances now happens with the `CHAIN_UPDATE` event:

- Create `IApiManager` interface
- Refactor `BlockchainApiManager`/`TransactionApiManager`/`BalancesApiManager` to extend and implement `IApiManager`
- Add `TransactionsRepository` with `clearApi` method
- Add `clearApi` method to `BalancesRepository`
- Call all `clearApi` methods after `CHAIN_UPDATE` clears the respective `Chain` entity
- Update/add tests accordingly

1979 of 2430 branches covered (81.44%)

Branch coverage included in aggregate %.

79 of 81 new or added lines in 22 files covered. (97.53%)

6874 of 7170 relevant lines covered (95.87%)

356.61 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
96.4
0.0% src/domain/safe/safe.repository.ts
1
72.73
0.0% src/domain/tokens/token.repository.ts
Jobs
ID Job ID Ran Files Coverage
1 run-test:cov - 9518177005.1 14 Jun 2024 03:01PM UTC 1209
93.11
GitHub Action Run
2 run-test:e2e:cov - 9518177005.2 14 Jun 2024 02:59PM UTC 980
54.78
GitHub Action Run
Source Files on build 9518177005
  • Tree
  • List 611
  • Changed 182
  • Source Changed 26
  • Coverage Changed 163
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #9518177005
  • 8216494c on github
  • Prev Build on main (#9517858830)
  • Next Build on main (#9543294822)
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

© 2025 Coveralls, Inc