khu-khlug / sight-backend

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

feat: Transactional 데코레이터 구현 #24

Closed Coalery closed 11 months ago

Coalery commented 11 months ago

주요 변경 사항

Transactional 데코레이터를 구현합니다.

변경 이유

Fixes #16

github-actions[bot] commented 11 months ago

Coverage report

St.:grey_question:
Category Percentage Covered / Total
🟢 Statements
83.69% (-4.74% 🔻)
236/282
🔴 Branches
48% (-26.19% 🔻)
24/50
🟡 Functions
62.16% (-2.92% 🔻)
46/74
🟢 Lines
84.17% (-3.99% 🔻)
218/259
Show new covered files 🐣
|
St.:grey_question:
| File | Statements | Branches | Functions | Lines | | :----------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------- | :--------- | :------- | :-------- | :----- | | 🟢 |
`...` / constant.ts
| 100% | 100% | 100% | 100% | | 🟢 |
`...` / Transactional.ts
| 100% | 100% | 100% | 100% | | 🟢 |
`...` / TransactionalDecorator.ts
| 92.86% | 33.33% | 100% | 92.31% | | 🔴 |
`...` / index.ts
| 0% | 100% | 0% | 0% | | 🔴 |
`...` / TransactionMiddleware.ts
| 0% | 0% | 0% | 0% | | 🔴 |
`...` / DatabaseConfig.ts
| 0% | 0% | 0% | 0% | | 🔴 | core/core.module.ts | 0% | 100% | 0% | 0% | | 🔴 |
`...` / TransactionModule.ts
| 0% | 100% | 0% | 0% |

Test suite run success

23 tests passing in 8 suites.

Report generated by 🧪jest coverage report action from dedf405f4f3e5c3b09fafec4ca3beb6553cf991c