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

safe-global / safe-events-service / 6195845991

15 Sep 2023 08:36AM CUT coverage: 89.356%. Remained the same
6195845991

push

github

Uxio0
Set version 0.4.0

69 of 78 branches covered (0.0%)

Branch coverage included in aggregate %.

250 of 279 relevant lines covered (89.61%)

6.36 hits per line

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

88.24
/src/routes/webhook/webhook.module.ts
1
import { Module } from '@nestjs/common';
6✔
2
import { CacheModule } from '@nestjs/cache-manager';
6✔
3
import { TypeOrmModule } from '@nestjs/typeorm';
6✔
4
import { Webhook } from './entities/webhook.entity';
6✔
5
import { WebhookService } from './webhook.service';
6✔
6
import { ConfigModule, ConfigService } from '@nestjs/config';
6✔
7
import { HttpModule } from '@nestjs/axios';
6✔
8

9
@Module({
10
  imports: [
11
    TypeOrmModule.forFeature([Webhook]),
12
    CacheModule.register(),
13
    ConfigModule,
14
    HttpModule.registerAsync({
15
      imports: [ConfigModule],
16
      inject: [ConfigService],
17
      useFactory: async (configService: ConfigService) => ({
14✔
18
        timeout: configService.get('HTTP_TIMEOUT') ?? 5000,
21!
19
        maxRedirects: configService.get('HTTP_MAX_REDIRECTS') ?? 0,
21!
20
      }),
21
    }),
22
  ],
23
  providers: [WebhookService],
24
  exports: [TypeOrmModule, WebhookService],
25
})
26
export class WebhookModule {}
6✔
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