✅ [Test] generatePPT, usePPTGenerator 단위 테스트 추가#10
Merged
Conversation
- generatePPT 테스트 커버리지 100% 달성 - bible.test.ts 파일명을 parseVerse.test.ts 파일명으로 변경
- usePPTGenerator 테스트 커버리지 100% 달성
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚀 작업 요약 (Summary)
generatePPT 함수, usePPTGenerator 커스텀 훅에 대한 단위 테스트 시행
🛠️ 주요 변경 사항 (Key Changes)
generatePPT.test.tspptxgenjs 라이브러리를 모킹(Mocking)하여 슬라이드 생성, 도형/텍스트 추가 로직을 검증.
usePPTGenerator.test.tsisLoading 상태 변화 확인
electronAPI IPC 통신 성공/실패 시 알림(alert) 동작 검증
✅ 테스트 결과 (Test Results)