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

safe-global / safe-client-gateway / 9446016581

10 Jun 2024 09:35AM UTC coverage: 92.662% (-0.04%) from 92.7%
9446016581

Pull #1623

github

iamacook
Fix lint
Pull Request #1623: Add `BlockchainApi` with associated manager

2001 of 2461 branches covered (81.31%)

Branch coverage included in aggregate %.

24 of 34 new or added lines in 4 files covered. (70.59%)

1 existing line in 1 file now uncovered.

7154 of 7419 relevant lines covered (96.43%)

327.43 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/domain/interfaces/blockchain-api.manager.interface.ts
NEW
1
import { BlockchainApiManager } from '@/datasources/blockchain/blockchain-api.manager';
×
NEW
2
import { ConfigApiModule } from '@/datasources/config-api/config-api.module';
×
3
import { IBlockchainApi } from '@/domain/interfaces/blockchain-api.interface';
NEW
4
import { Module } from '@nestjs/common';
×
5

NEW
6
export const IBlockchainApiManager = Symbol('IBlockchainApiManager');
×
7

8
export interface IBlockchainApiManager {
9
  getBlockchainApi(chainId: string): Promise<IBlockchainApi>;
10

11
  destroyBlockchainApi(chainId: string): void;
12
}
13

14
@Module({
15
  imports: [ConfigApiModule],
16
  providers: [
17
    { provide: IBlockchainApiManager, useClass: BlockchainApiManager },
18
  ],
19
  exports: [IBlockchainApiManager],
20
})
NEW
21
export class BlockchainApiManagerModule {}
×
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