Skip to content

Conversation

@ovidiubute
Copy link
Member

  • Upgrade React, React DOM, and React IS to version 19.2.3
  • Remove deprecated react-test-renderer package
  • Replace defaultProps with default parameters in AppHeader component
  • Update GitHubIcon test to use @testing-library/react instead of deprecated react-test-renderer
  • Add @testing-library/react and @testing-library/jest-dom as dev dependencies
  • All tests passing with React 19

claude and others added 3 commits January 17, 2026 07:01
- Upgrade React, React DOM, and React IS to version 19.2.3
- Remove deprecated react-test-renderer package
- Replace defaultProps with default parameters in AppHeader component
- Update GitHubIcon test to use @testing-library/react instead of deprecated react-test-renderer
- Add @testing-library/react and @testing-library/jest-dom as dev dependencies
- All tests passing with React 19
- Add AppHeader tests (9 tests): button clicks, move counter, prop changes
- Add Tile tests (12 tests): flipping, animations, state management, props
- Add TileGrid tests (10 tests): rendering, tile interactions, empty states
- Add GameStats tests (9 tests): game states, win conditions, restart functionality
- Add RestartButton tests (5 tests): rendering and click handlers
- Add Footer tests (9 tests): links, styling, external references
- Enhance App tests (14 tests): game logic, state management, user interactions

Total: 68 tests across 8 test suites, all passing
Uses @testing-library/react for modern React testing approach
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants