megadraft
megadraft copied to clipboard
Update Dropdown_test.js
Related Issue
Proposed Changes
- Replacement of Enzyme with React Testing Library.
- Update tests to use Testing Library methods.
- Improved compatibility with React 18+ and security.
Migration from Enzyme
Enzyme does not offer full support for React 18 and has security vulnerabilities (see details).
The community now uses the React Testing Library, which is more secure, focused on user interactions, and compatible with the latest versions of React.