@@ -82,11 +82,11 @@ scripts/ → Test scripts
8282 # Unit tests (run via `npm test`, no API keys needed)
8383 test-config-helpers.ts → Provider resolution, STT model mode/protocol, defaults (44 tests)
8484 test-migration.ts → Config migration: all edge cases, idempotency (17 tests)
85- test-llm-helpers.ts → Truncation, cursor markers, term parsing (38 tests)
85+ test-llm-helpers.ts → Truncation, cursor markers, term parsing (46 tests)
8686 test-auto-dict.ts → Skip logic, prompt building (24 tests)
8787 test-word-count.ts → CJK/Latin/mixed word counting (23 tests)
8888 test-i18n.ts → resolve, interpolate, locale file structure (21 tests)
89- test-pipeline-e2e.ts → STT config builders, protocol dispatch, prompt assembly + real API integration (23 tests)
89+ test-pipeline-e2e.ts → STT config builders, protocol dispatch, prompt assembly, parseApiError + real API integration (31 tests)
9090 # Integration tests (require API keys / network, not in `npm test`)
9191 test-api.ts → API connectivity test
9292 test-stt.ts → STT transcription test
@@ -119,7 +119,7 @@ Running `tsc --noEmit` alone only checks frontend — Electron errors will be mi
119119npm run dev # Vite dev server (frontend only, http://localhost:5173)
120120npm run electron:dev # Full Electron dev mode (Vite + Electron)
121121npm run typecheck # Check BOTH frontend + electron TypeScript
122- npm test # Run all 190 unit tests (7 suites)
122+ npm test # Run all 206 unit tests (7 suites)
123123npm run check # typecheck + all unit tests (use before committing)
124124npm run build # Build frontend (vite build) + compile electron (tsc)
125125npm run electron:build # Full package (build + electron-builder, auto-detects platform)
0 commit comments