Modernize dependencies
-
Using vite scratch project -
Migrate all code there -
make it work -
fix inconsistencies -
recover lost features
Summary by CodeRabbit
-
Refactor
- Replaced Enzyme with
@testing-library/react
for testing components. - Updated prop types and formatting in various components for consistency and clarity.
- Refined JSX attributes and conditional rendering in multiple components for improved readability.
- Replaced Enzyme with
-
New Features
- Added
data-testid
attributes for better testing support.
- Added
-
Bug Fixes
- Updated
router
object usage with optional chaining to prevent potential errors. - Simplified state population and search functionality in reducers.
- Updated
-
Chores
- Updated package versions and dependencies in
package.json
. - Introduced a fake IndexedDB environment setup for tests.
- Updated package versions and dependencies in
Edited by CodeRabbit