Closed elsaperelli closed 2 months ago
St.:grey_question: |
Category | Percentage | Covered / Total |
---|---|---|---|
🟢 | Statements | 85.15% | 2391/2808 |
🟡 | Branches | 73% | 2223/3045 |
🟢 | Functions | 87.47% | 426/487 |
🟢 | Lines | 85.46% | 2310/2703 |
451 tests passing in 31 suites.
Report generated by 🧪jest coverage report action from c53fa0b038b827768a76360558275db6fd10b435
Summary
While working on data requirements tasking, Hoss and Lauren noticed some issues with the data requirements comparison script now that mustSupports are being incorporated. There were three issues and this addresses two of them: the mustSupport arrays were not being sorted before being compared (i.e. ['code', 'status'] did not equal ['status', 'code'] and data requirements that are not referenced by valueSets but rather through direct reference codes were not being analyzed for mustSupport comparison.
New behavior
Code changes
data-requirements/summary-compare.ts
- implemented above changesTesting guidance
npm run check
./summary-compare.sh