Migrate Popover component tests from Enzyme to React Testing Library #813
Labels
good first issue
Good for newcomers
hacktoberfest
hacktoberfest2023
hacktoberfest-accepted
help wanted
Extra attention is needed
Description
This issue is related to refactoring the
Popover.test.tsx
file tests.We've recently been migrating our tests from Jest + Enzyme to Jest + testing-library/react to support a full migration to React 18.
You may refer to this previous PR beginning the migration for code examples - #771.
Acceptance Criteria
Refactor the test to use React Testing Library instead of Enzyme (which is no longer supported with React 18).
More information: Migrate from Enzyme
How to Contribute
Please review the contributing documentation beforehand.
Steps to Contribute:
npm run test -- -u
and include the updated tests in your commit.refactor: <component_name> tests
.The text was updated successfully, but these errors were encountered: