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

khu-khlug / sight-backend / 13616929463

02 Mar 2025 03:40PM UTC coverage: 57.19% (-1.0%) from 58.222%
13616929463

push

github

web-flow
chore: yarn에서 npm으로 롤백 (#105)

637 of 1702 branches covered (37.43%)

Branch coverage included in aggregate %.

1797 of 2554 relevant lines covered (70.36%)

15.16 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 {
5
  ISlackSender,
1✔
6
  SlackSender,
7
} from '@khlug/app/domain/adapter/ISlackSender';
8
import { SlackMessageCategory } from '@khlug/app/domain/message/model/constant';
2✔
9
import { UserProfileUpdated } from '@khlug/app/domain/user/event/UserProfileUpdated';
10

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

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

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