khu-khlug / sight-backend

쿠러그의 백엔드 어플리케이션 저장소
1 stars 0 forks source link

feat: 그룹 수정 커맨드 및 관련 이벤트 구현 #42

Closed Coalery closed 9 months ago

Coalery commented 9 months ago

주요 변경 사항

그룹 수정 커맨드(ModifyGroupCommand)와 그 핸들러, 그리고 관련 이벤트(GroupUpdated)의 핸들러를 구현합니다.

변경 이유

기존 기능의 호환을 위함입니다.

github-actions[bot] commented 9 months ago

Coverage report

St.:grey_question:
Category Percentage Covered / Total
🟡 Statements
75.74% (+6.41% 🔼)
665/878
🔴 Branches
57.52% (+10.29% 🔼)
88/153
🔴 Functions
50.2% (+8.53% 🔼)
125/249
🟡 Lines
75.52% (+6.76% 🔼)
620/821
Show new covered files 🐣
|
St.:grey_question:
| File | Statements | Branches | Functions | Lines | | :----------------------------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------- | :--------- | :------- | :-------- | :---- | | 🟢 |
`...` / GroupUpdated.ts
| 100% | 100% | 100% | 100% | | 🟢 |
`...` / isDifferentStringArray.ts
| 100% | 100% | 100% | 100% | | 🟢 |
`...` / ModifyGroupCommandHandler.ts
| 100% | 71.43% | 100% | 100% | | 🟢 |
`...` / ModifyGroupCommand.ts
| 100% | 100% | 100% | 100% | | 🟢 |
`...` / ModifyGroupCommandResult.ts
| 100% | 100% | 100% | 100% | | 🟢 |
`...` / GroupUpdatedHandler.ts
| 100% | 53.33% | 100% | 100% | | 🟢 |
`...` / GroupLogFactory.ts
| 100% | 100% | 100% | 100% | | 🟢 |
`...` / IGroupLogRepository.ts
| 100% | 100% | 100% | 100% | | 🟢 |
`...` / IGroupUpdatedMessageBuilder.ts
| 100% | 100% | 100% | 100% |
Show files with reduced coverage 🔻
|
St.:grey_question:
| File | Statements | Branches | Functions | Lines | | :----------------------------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------ | :----------------------------------------------------------- | :----------------------------------------------------------- | :-------- | :----------------------------------------------------------- | | 🟢 |
`...` / GroupAuthorizer.ts
|
94.12% (-5.88% 🔻)
|
90.91% (-9.09% 🔻)
| 100% |
93.75% (-6.25% 🔻)
|

Test suite run success

91 tests passing in 22 suites.

Report generated by 🧪jest coverage report action from 96cc9571deaaaeab37c06759b070342ade2c9884