Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Enzyme replacement in test files- PR 1 of 6 for part 3 of 3 (#…
…7232) #### Details Enzyme replacement in files under src/tests/unit/tests/DetailsView/ <!-- Usually a sentence or two describing what the PR changes --> ##### Motivation Existing story: [User Story 2142857](https://dev.azure.com/mseng/1ES/_workitems/edit/2142857) Replaced the use of Enzyme in the below files: 1. src/tests/unit/tests/DetailsView/components/status-icon.test.tsx 2. src/tests/unit/tests/DetailsView/components/switcher.test.tsx 3. src/tests/unit/tests/DetailsView/components/tab-stops-failed-instance-section.test.tsx 4. src/tests/unit/tests/DetailsView/components/tab-stops-minimal-requirement-header.test.tsx 5. src/tests/unit/tests/DetailsView/components/tab-stops-requirement-instances-collapsible-content.test.tsx 6. src/tests/unit/tests/DetailsView/components/tab-stops-requirements-with-instances.test.tsx 7. src/tests/unit/tests/DetailsView/components/target-change-dialog.test.tsx 8. src/tests/unit/tests/DetailsView/components/target-page-changed-view.test.tsx 9. src/tests/unit/tests/DetailsView/components/target-page-hidden-bar.test.tsx 10. src/tests/unit/tests/DetailsView/components/test-status-choice-group.test.tsx 11. src/tests/unit/tests/DetailsView/components/test-view-container.test.tsx 12. src/tests/unit/tests/DetailsView/components/transfer-to-assessment-button.test.tsx 13. src/tests/unit/tests/DetailsView/details-view-body.test.tsx 14. src/tests/unit/tests/DetailsView/details-view-container.test.tsx 15. src/tests/unit/tests/DetailsView/details-view-content.test.tsx <!-- This can be as simple as "addresses issue #123" --> ##### Context <!-- Are there any parts that you've intentionally left out-of-scope for a later PR to handle? --> <!-- Were there any alternative approaches you considered? What tradeoffs did you consider? --> #### Pull request checklist <!-- If a checklist item is not applicable to this change, write "n/a" in the checkbox --> - [x] Addresses an existing issue: [User Story 2142857](https://dev.azure.com/mseng/1ES/_workitems/edit/2142857) - [x] Ran `yarn fastpass` - [x] Added/updated relevant unit test(s) (and ran `yarn test`) - [x] Verified code coverage for the changes made. Check coverage report at: `<rootDir>/test-results/unit/coverage` - [x] PR title *AND* final merge commit title both start with a semantic tag (`fix:`, `chore:`, `feat(feature-name):`, `refactor:`). See `CONTRIBUTING.md`. - [n/a] (UI changes only) Added screenshots/GIFs to description above - [n/a] (UI changes only) Verified usability with NVDA/JAWS --------- Co-authored-by: Prachi Naigaonkar <[email protected]>
- Loading branch information