Repository navigation
CA-001 pilot: raise unit coverage with focused tests for 5 high-impact modules - #210
Swissystem7 with Copilot wants to merge 2 commits into
Conversation
Co-authored-by: Swissystem7 <288345924+Swissystem7@users.noreply.github.com>
חוות דעת: גוזה (Claude Team), קריאת קוד בלבדשורה תחתונה: PR שמוסיף רק בדיקות, וזה כיוון טוב. בדיקה אחת נכשלת ב-Windows, ולכן כדאי לתקן לפני מיזוג. ה-CI עובר כי הוא רץ על Linux. מה בדקתי: הרצתי באג
הערות לא מיזגתי, לא אישרתי ולא שיניתי קוד. |
This PR advances the CA-001 pilot by increasing SmartMount unit coverage without changing runtime behavior. It adds focused tests for key low-/under-tested modules and reports coverage deltas before/after.
Scope: targeted coverage expansion (tests only)
test/coverage-pilot.test.jsto cover five important modules:tools/codecov.jsscripts/smoke.jsscripts/pr-size.jsscripts/sync-control-params.jssrc/lib/sentryLoader.jsWhat is now exercised
codecovupload non-success branches (codecov-<status>,no-upload-url)smokeChromium path resolution fallback logicpr-sizemain()return-code behavior (0fit /2invalid args path)sync-control-paramsgenerator execution and emitted artifact structuresentryLoaderbrowser-global export + safe auto-init pathCoverage delta (full suite)
97.64%, branch89.06%, funcs91.71%97.88%, branch89.40%, funcs91.99%tools/codecov.jsline coverage57.97%→65.22%