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

khu-khlug / sight-backend / 13703919638

06 Mar 2025 04:53PM UTC coverage: 51.137% (-2.3%) from 53.458%
13703919638

push

github

web-flow
feat: 디스코드 이벤트 핸들러 구현 (#107)

719 of 2293 branches covered (31.36%)

Branch coverage included in aggregate %.

0 of 69 new or added lines in 7 files covered. (0.0%)

13 existing lines in 3 files now uncovered.

2025 of 3073 relevant lines covered (65.9%)

12.75 hits per line

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

0.0
/src/core/core.module.ts
1
import { defineConfig } from '@mikro-orm/mysql';
2
import { MikroOrmModule } from '@mikro-orm/nestjs';
×
3
import { Global, Module } from '@nestjs/common';
×
4
import { ConfigModule, ConfigService } from '@nestjs/config';
×
5
import { CqrsModule } from '@nestjs/cqrs';
×
6
import { ClsModule } from 'nestjs-cls';
7

8
import { AuthModule } from '@khlug/core/auth/AuthModule';
9
import { configuration } from '@khlug/core/config';
10
import { DatabaseConfig } from '@khlug/core/config/DatabaseConfig';
11
import { DiscordModule } from '@khlug/core/discord/DiscordModule';
12
import { EntityModels } from '@khlug/core/persistence/Entities';
13

14
@Global()
15
@Module({
16
  imports: [
17
    AuthModule,
18
    ClsModule.forRoot({ middleware: { mount: true } }),
19
    ConfigModule.forRoot({
×
20
      envFilePath: `.env.${process.env.NODE_ENV}`,
21
      load: [configuration],
22
    }),
23
    MikroOrmModule.forRootAsync({
24
      imports: [ConfigModule],
25
      inject: [ConfigService],
26
      useFactory: (configService: ConfigService) => {
27
        const databaseConfig =
28
          configService.getOrThrow<DatabaseConfig>('database');
29

30
        return defineConfig({
31
          entities: EntityModels,
32
          host: databaseConfig?.host,
33
          port: databaseConfig?.port,
34
          user: databaseConfig?.username,
35
          password: databaseConfig?.password,
36
          dbName: databaseConfig?.database,
37
        });
38
      },
39
    }),
40
    CqrsModule,
41
    DiscordModule,
42
  ],
UNCOV
43
  exports: [ClsModule, ConfigModule, MikroOrmModule, CqrsModule],
×
44
})
×
45
export class CoreModule {}
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