chore: Enzyme replacement in test files- PR 1 of 6 for part 2 of 3#7207
chore: Enzyme replacement in test files- PR 1 of 6 for part 2 of 3#7207v-singhanjal merged 15 commits intomicrosoft:mainfrom
Conversation
…accessibility-insights-web into enzyme_replacement
madalynrose
left a comment
There was a problem hiding this comment.
A couple small nits and then this looks good to go!
src/tests/unit/tests/DetailsView/components/left-nav/details-view-left-nav.test.tsx
Show resolved
Hide resolved
|
General comment: Having a series of PR's titled "... user story ABC", "... user story DEF", "...user story GHI", etc., can be useful when tracking the implementation of the work, but once the PR is merged, its value drops dramatically, especially if the engineering system ever becomes unavailable. As an alternative, may I suggest a slightly different approach, with the intent to make it possible to understand the change even without access to the ADO system (which will be the case for any external contributor, or even internal contributors should we later change engineering systems)
So a specific one of these tasks might have a title of "chore: Enzyme replacement in test files - part 3 of 12". The description might include something like: Files in scope for this PR:
|
Details
Enzyme replacement in files under src/tests/unit/tests/DetailsView/components
Motivation
Existing story: User Story 2136480
Replaced the use of Enzyme in the below files:
Code coverage before and after codeshift checked and it is same.
Context
Pull request checklist
yarn fastpassyarn test)<rootDir>/test-results/unit/coveragefix:,chore:,feat(feature-name):,refactor:). SeeCONTRIBUTING.md.