khu-khlug / sight-backend

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

fix: transactional 데코레이터 적용 #30

Closed Coalery closed 1 year ago

Coalery commented 1 year ago

주요 변경 사항

@Transactional 데코레이터를 적용합니다.

변경 이유

command 작업은 일반적으로 모두 하나의 트랜잭션에서 원자적으로 처리되어야 하므로 @Transactional 데코레이터를 붙입니다.

github-actions[bot] commented 1 year ago

Coverage report

St.:grey_question:
Category Percentage Covered / Total
🟢 Statements
83.86% (+0.17% 🔼)
239/285
🔴 Branches
48.15% (+0.15% 🔼)
26/54
🟡 Functions 62.16% 46/74
🟢 Lines
84.35% (+0.18% 🔼)
221/262
Show files with reduced coverage 🔻
|
St.:grey_question:
| File | Statements | Branches | Functions | Lines | | :----------------------------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------- | :--------- | :---------------------------------------------------------- | :-------- | :---- | | 🟢 |
`...` / UpdateUserCommandHandler.ts
| 100% |
58.33% (-1.67% 🔻)
| 100% | 100% | | 🟢 |
`...` / UpdateUnitedUserCommandHandler.ts
| 100% |
60% (-6.67% 🔻)
| 100% | 100% |

Test suite run success

23 tests passing in 8 suites.

Report generated by 🧪jest coverage report action from ad35accd5461be00d92e56916f8387074fd74f54