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

safe-global / safe-client-gateway / 15465798268

05 Jun 2025 11:25AM UTC coverage: 90.177% (-0.02%) from 90.195%
15465798268

Pull #2608

github

PooyaRaki
feat: add EXPIRATION_DEVIATE_PERCENT to configuration tests
Pull Request #2608: feat: deviate Redis expiration time

3358 of 4063 branches covered (82.65%)

Branch coverage included in aggregate %.

17 of 17 new or added lines in 2 files covered. (100.0%)

71 existing lines in 11 files now uncovered.

11578 of 12500 relevant lines covered (92.62%)

554.18 hits per line

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

80.0
/src/domain/data-decoder/v2/data-decoder.repository.ts
1
import { Inject, Injectable } from '@nestjs/common';
106✔
2
import {
106✔
3
  DataDecoded,
4
  DataDecodedSchema,
5
} from '@/domain/data-decoder/v2/entities/data-decoded.entity';
6
import { IDataDecoderRepository } from '@/domain/data-decoder/v2/data-decoder.repository.interface';
7
import { IDataDecoderApi } from '@/domain/interfaces/data-decoder-api.interface';
106✔
8
import { Page } from '@/domain/entities/page.entity';
9
import {
106✔
10
  Contract,
11
  ContractPageSchema,
12
} from '@/domain/data-decoder/v2/entities/contract.entity';
13

14
@Injectable()
15
export class DataDecoderRepository implements IDataDecoderRepository {
106✔
16
  constructor(
17
    @Inject(IDataDecoderApi)
18
    private readonly dataDecoderApi: IDataDecoderApi,
1,614✔
19
  ) {}
20

21
  public async getDecodedData(args: {
22
    chainId: string;
23
    data: `0x${string}`;
24
    to: `0x${string}`;
25
  }): Promise<DataDecoded> {
26
    const dataDecoded = await this.dataDecoderApi.getDecodedData(args);
78✔
27
    return DataDecodedSchema.parse(dataDecoded);
76✔
28
  }
29

30
  public async getContracts(args: {
31
    chainIds: Array<string>;
32
    address: `0x${string}`;
33
  }): Promise<Page<Contract>> {
UNCOV
34
    const contracts = await this.dataDecoderApi.getContracts(args);
×
UNCOV
35
    return ContractPageSchema.parse(contracts);
×
36
  }
37
}
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