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

khu-khlug / sight-backend / 14190117854

01 Apr 2025 07:47AM UTC coverage: 51.423%. Remained the same
14190117854

push

github

web-flow
refactor: 메시지 전송 클래스 구현을 위해 기존 클래스 및 파일 이름 변경 (#115)

796 of 2513 branches covered (31.68%)

Branch coverage included in aggregate %.

29 of 34 new or added lines in 18 files covered. (85.29%)

36 existing lines in 6 files now uncovered.

2222 of 3356 relevant lines covered (66.21%)

13.1 hits per line

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

62.75
/src/app/application/user/eventHandler/UserProfileUpdatedHandler.ts
1
import { Inject } from '@nestjs/common';
2
import { EventsHandler, IEventHandler } from '@nestjs/cqrs';
1✔
3

4
import { INotifier, NotifierToken } from '@khlug/app/domain/adapter/INotifier';
5
import { NotificationCategory } from '@khlug/constant/notification';
1✔
6
import { UserProfileUpdated } from '@khlug/app/domain/user/event/UserProfileUpdated';
7

8
@EventsHandler(UserProfileUpdated)
2✔
9
export class UserProfileUpdatedHandler
10
  implements IEventHandler<UserProfileUpdated>
11
{
1✔
12
  constructor(
1✔
13
    @Inject(NotifierToken)
1✔
14
    private readonly slackSender: INotifier,
1✔
15
  ) {}
1✔
16

17
  handle(event: UserProfileUpdated) {
1!
UNCOV
18
    const { user } = event;
×
19

20
    this.slackSender.send({
21
      targetUserId: user.id,
22
      message: '회원 정보를 수정했습니다.',
23
      category: NotificationCategory.USER_DATA,
24
    });
25
  }
1✔
26
}
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