feat(user): 리뷰 미디어 분리 제한 (사진 10 / 동영상 1)#78
Conversation
기존 정책은 IMAGE/VIDEO 합산 10개였으나, 마이페이지 figma 명세에 따라 사진 10장 / 동영상 1개로 분리한다 (총 11개까지 허용). - MAX_IMAGE_COUNT(10) / MAX_VIDEO_COUNT(1) 상수 분리 - validateMedia: 단일 카운트에서 type별 카운트로 변경 - 에러 메시지 분리: TOO_MANY_MEDIA → TOO_MANY_IMAGES, TOO_MANY_VIDEOS - 회귀 테스트 4건 (총 11개 통과 / 사진 11 reject / 동영상 2 reject / 동영상 단독 통과)
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Coverage report
Test suite run success840 tests passing in 75 suites. Report generated by 🧪jest coverage report action from e8c4717 |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Summary
변경 사항
Breaking 여부
Test plan