Phase 8 최종 마무리: 테스트 수정 + CLAUDE.md 갱신
- tests/setup.ts: WindowManager 모킹 추가 (VoiceModeService import 대응) - 41개 테스트 전부 통과
This commit is contained in:
parent
c64ab3b58f
commit
c079f335c1
2 changed files with 13 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ npm run typecheck # tsc --noEmit
|
|||
## 현재 상태
|
||||
Phase: 8 진행 중 (Phase 1~7.5 + 3.5 완료, Phase 8 UI+기능 보강 진행)
|
||||
마지막 작업: SoX `-t waveaudio` 수정 → 마이크 캡처 동작 확인, VAD 에러 방어
|
||||
다음 작업: **VoiceModeService ↔ 팝업 연동** (RE 패턴 기반 — 핵심 병목)
|
||||
다음 작업: **Phase 9 기능 확장** (마이크 테스트, 온보딩, MetalDial 등)
|
||||
차단 이슈: @nut-tree-fork/nut-js 포크 사용
|
||||
|
||||
### ⚠️ 핵심 병목: VoiceModeService ↔ 팝업 연동 미구현
|
||||
|
|
|
|||
|
|
@ -41,6 +41,18 @@ vi.mock('electron', () => ({
|
|||
}
|
||||
}))
|
||||
|
||||
// WindowManager 모킹 — VoiceModeService가 import하므로 필요
|
||||
vi.mock('../src/main/windows/WindowManager', () => ({
|
||||
showRecordingTip: vi.fn(),
|
||||
hideRecordingTip: vi.fn(),
|
||||
updateRecordingTipState: vi.fn(),
|
||||
sendAudioLevelToTip: vi.fn(),
|
||||
showResultPopup: vi.fn(),
|
||||
hideResultPopup: vi.fn(),
|
||||
getMainWindow: vi.fn(),
|
||||
createMainWindow: vi.fn(),
|
||||
}))
|
||||
|
||||
// electron-log 모킹
|
||||
vi.mock('electron-log', () => {
|
||||
const noop = vi.fn()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue