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

safe-global / safe-client-gateway / 8630594257

10 Apr 2024 11:38AM UTC coverage: 45.232% (-47.6%) from 92.862%
8630594257

Pull #1369

github

iamacook
Only store signer address in JWT payload
Pull Request #1369: Add `AuthGuard`

293 of 2225 branches covered (13.17%)

Branch coverage included in aggregate %.

4 of 9 new or added lines in 3 files covered. (44.44%)

2495 existing lines in 237 files now uncovered.

3540 of 6249 relevant lines covered (56.65%)

8.62 hits per line

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

30.43
/src/logging/__tests__/test.logging.module.ts
1
import { Global, Inject, Module } from '@nestjs/common';
2✔
2
import { IConfigurationService } from '@/config/configuration.service.interface';
2✔
3
import { ILoggingService, LoggingService } from '@/logging/logging.interface';
2✔
4

5
class TestLoggingService implements ILoggingService {
2✔
6
  private readonly isSilent: boolean;
7

8
  constructor(
9
    @Inject(IConfigurationService)
10
    private readonly configurationService: IConfigurationService,
2✔
11
  ) {
12
    this.isSilent = configurationService.getOrThrow<boolean>('log.silent');
2✔
13
  }
14

15
  debug(message: string | unknown): void {
UNCOV
16
    if (this.isSilent) return;
×
17
    console.debug(message);
×
18
  }
19

20
  error(message: string | unknown): void {
UNCOV
21
    if (this.isSilent) return;
×
22
    console.error(message);
×
23
  }
24

25
  info(message: string | unknown): void {
UNCOV
26
    if (this.isSilent) return;
×
27
    console.info(message);
×
28
  }
29

30
  warn(message: string | unknown): void {
UNCOV
31
    if (this.isSilent) return;
×
32
    console.warn(message);
×
33
  }
34
}
35

36
@Global()
37
@Module({
38
  providers: [{ provide: LoggingService, useClass: TestLoggingService }],
39
  exports: [LoggingService],
40
})
41
export class TestLoggingModule {}
2✔
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