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

safe-global / safe-client-gateway / 8696382674

15 Apr 2024 09:31PM UTC coverage: 92.954% (-0.1%) from 93.078%
8696382674

push

github

fmrsabino
wip

1901 of 2296 branches covered (82.8%)

Branch coverage included in aggregate %.

30 of 42 new or added lines in 4 files covered. (71.43%)

6806 of 7071 relevant lines covered (96.25%)

312.88 hits per line

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

90.91
/src/routes/data-decode/data-decoded-v2.controller.ts
1
import { Body, Controller, HttpCode, Param, Post } from '@nestjs/common';
92✔
2
import { ApiOkResponse, ApiTags } from '@nestjs/swagger';
92✔
3
import { DataDecodedService } from '@/routes/data-decode/data-decoded.service';
92✔
4
import { DataDecoded } from '@/routes/data-decode/entities/data-decoded.entity';
92✔
5
import { GetDataDecodedDto } from '@/routes/data-decode/entities/get-data-decoded.dto.entity';
92✔
6
import { ValidationPipe } from '@/validation/pipes/validation.pipe';
92✔
7
import { GetDataDecodedDtoSchema } from '@/routes/data-decode/entities/schemas/get-data-decoded.dto.schema';
92✔
8

9
@ApiTags('data-decoded')
10
@Controller({
11
  path: '',
12
  version: '2',
13
})
14
export class DataDecodedV2Controller {
92✔
15
  constructor(private readonly dataDecodedService: DataDecodedService) {}
1,206✔
16

17
  @ApiOkResponse({ type: DataDecoded })
18
  @HttpCode(200)
19
  @Post('chains/:chainId/data-decoder')
20
  async getDataDecoded(
92✔
21
    @Param('chainId') chainId: string,
22
    @Body(new ValidationPipe(GetDataDecodedDtoSchema))
23
    getDataDecodedDto: GetDataDecodedDto,
24
  ): Promise<DataDecoded> {
NEW
25
    return this.dataDecodedService.getDataDecodedV2({
×
26
      chainId,
27
      getDataDecodedDto,
28
    });
29
  }
30
}
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