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

khu-khlug / sight-backend / 14247600948

03 Apr 2025 04:05PM UTC coverage: 50.988% (-1.0%) from 51.939%
14247600948

push

github

web-flow
feat: 디스코드 메신저 구현 (#118)

823 of 2618 branches covered (31.44%)

Branch coverage included in aggregate %.

29 of 64 new or added lines in 13 files covered. (45.31%)

45 existing lines in 10 files now uncovered.

2272 of 3452 relevant lines covered (65.82%)

12.83 hits per line

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

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

4
import {
5
  IMessenger,
1✔
6
  MessengerToken,
7
} from '@khlug/app/domain/adapter/IMessenger';
8
import { UserProfileUpdated } from '@khlug/app/domain/user/event/UserProfileUpdated';
2✔
9

10
@EventsHandler(UserProfileUpdated)
11
export class UserProfileUpdatedHandler
1✔
12
  implements IEventHandler<UserProfileUpdated>
1✔
13
{
1✔
14
  constructor(
1✔
15
    @Inject(MessengerToken)
16
    private readonly slackSender: IMessenger,
1!
UNCOV
17
  ) {}
×
18

19
  handle(event: UserProfileUpdated) {
20
    const { user } = event;
21

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