microsoft / accessibility-insights-web

Accessibility Insights for Web
https://accessibilityinsights.io
MIT License
835 stars 150 forks source link

chore: Enzyme replacement in test files- PR 3 of 6 for part 3 of 3 #7233

Closed rohittarpara closed 7 months ago

rohittarpara commented 8 months ago

Details

Enzyme replacement in files under src/tests/unit/tests/reports/

Motivation

Existing story: User Story: 2142860

Context

Replaced the use of Enzyme in the below files:

  1. src/tests/unit/tests/DetailsView/components/details-view-command-bar.test.tsx
  2. src/tests/unit/tests/reports/components/report-sections/footer-text.test.tsx
  3. src/tests/unit/tests/reports/components/report-sections/full-rule-header.test.tsx
  4. src/tests/unit/tests/reports/components/report-sections/header-section.test.tsx
  5. src/tests/unit/tests/reports/components/report-sections/incomplete-checks-sections.test.tsx
  6. src/tests/unit/tests/reports/components/report-sections/make-details-section-fc.test.tsx
  7. src/tests/unit/tests/reports/components/report-sections/minimal-rule-header.test.tsx
  8. src/tests/unit/tests/reports/components/report-sections/no-failed-instances-congrats.test.tsx
  9. src/tests/unit/tests/reports/components/report-sections/not-applicable-checks-sections.test.tsx
  10. src/tests/unit/tests/reports/components/report-sections/not-scanned-urls-section.test.tsx
  11. src/tests/unit/tests/reports/components/report-sections/passed-checks-sections.test.tsx
  12. src/tests/unit/tests/reports/components/report-sections/passed-urls-section.test.tsx
  13. src/tests/unit/tests/reports/components/report-sections/report-body.test.tsx
  14. src/tests/unit/tests/reports/components/report-sections/report-collapsible-container.test.tsx
  15. src/tests/unit/tests/reports/components/report-sections/report-footer.test.tsx
  16. src/tests/unit/tests/reports/components/report-sections/reporter-header-section.test.tsx
  17. src/tests/unit/tests/reports/components/report-sections/results-by-url-container.test.tsx
  18. src/tests/unit/tests/reports/components/report-sections/results-container.test.tsx
  19. src/tests/unit/tests/reports/components/report-sections/rules-only.test.tsx
  20. src/tests/unit/tests/reports/components/report-sections/rules-results-container.test.tsx
  21. src/tests/unit/tests/reports/components/report-sections/summary-report-details-section.test.tsx
  22. src/tests/unit/tests/reports/components/report-sections/summary-report-header-section.test.tsx
  23. src/tests/unit/tests/reports/components/report-sections/summary-report-summary-section.test.tsx

Pull request checklist

codecov-commenter commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (f92b789) 94.24% compared to head (1b1db10) 94.30%. Report is 6 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #7233 +/- ## ========================================== + Coverage 94.24% 94.30% +0.06% ========================================== Files 1224 1227 +3 Lines 20688 20715 +27 Branches 1308 1308 ========================================== + Hits 19497 19536 +39 + Misses 1173 1160 -13 - Partials 18 19 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.