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 2 of 6 for part 3 of 3 #7222

Closed v-prachin closed 7 months ago

v-prachin commented 8 months ago

Details

Replacement of Enzyme in files under src/tests/unit/tests/common/component

Motivation

Existing story: User Story: 2142861

Replaced the use of Enzyme in the below files:

  1. src/tests/unit/tests/reports/components/report-sections/summary-results-table.test.tsx
  2. src/tests/unit/tests/reports/components/report-sections/tab-stops-checks-section-wrapper.test.tsx
  3. src/tests/unit/tests/reports/components/report-sections/tab-stops-report-instance-list.test.tsx
  4. src/tests/unit/tests/reports/components/report-sections/tool-link.test.tsx
  5. src/tests/unit/tests/reports/components/report-sections/url-errors-table.test.tsx
  6. src/tests/unit/tests/reports/components/report-sections/url-scan-results-table.test.tsx
  7. src/tests/unit/tests/reports/components/report-sections/urls-summary-section.test.tsx
  8. src/tests/unit/tests/reports/components/assessment-report-body-header.test.tsx
  9. src/tests/unit/tests/reports/components/assessment-report-body.test.tsx
  10. src/tests/unit/tests/reports/components/assessment-report-footer.test.tsx
  11. src/tests/unit/tests/reports/components/assessment-report-step-list.test.tsx
  12. src/tests/unit/tests/reports/components/assessment-report.test.tsx
  13. src/tests/unit/tests/reports/components/assessment-summary-details.test.tsx
  14. src/tests/unit/tests/reports/components/fast-pass-report-automated-checks-results.test.tsx
  15. src/tests/unit/tests/reports/components/fast-pass-report-summary.test.tsx
  16. src/tests/unit/tests/reports/components/fast-pass-report.test.tsx
  17. src/tests/unit/tests/reports/components/header-bar.test.tsx
  18. src/tests/unit/tests/reports/components/outcome-chip-set.test.tsx
  19. src/tests/unit/tests/reports/components/report-sections/summary-section.test.tsx
  20. src/tests/unit/tests/reports/components/assessment-report-assessment-list.test.tsx
  21. src/tests/unit/tests/reports/components/assessment-report-step-header.test.tsx
  22. src/tests/unit/tests/reports/components/inline-image.test.tsx
  23. src/tests/unit/tests/reports/components/new-tab-link-confirmation-dialog.test.tsx
Context

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 (b0ec9a0) 94.30% compared to head (65ed96b) 94.31%. Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #7222 +/- ## ========================================== + Coverage 94.30% 94.31% +0.01% ========================================== Files 1225 1224 -1 Lines 20697 20696 -1 Branches 1308 1308 ========================================== + Hits 19518 19520 +2 + Misses 1160 1157 -3 Partials 19 19 ```

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