Add component tests for EndRunModal, GameGrid, RulesConfiguration, Layout
33 tests covering rendering, user interactions (userEvent clicks), prop callbacks, filter state, and conditional description text. Adds a matchMedia stub to the vitest setup file so components importing useTheme don't throw in jsdom. Also adds actionlint and zizmor pre-commit hooks for GitHub Actions linting. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -25,4 +25,4 @@ Add comprehensive unit and integration test coverage to both the backend (FastAP
|
||||
- [x] Backend API endpoints have integration test coverage
|
||||
- [x] Frontend test infrastructure is set up (Vitest, RTL)
|
||||
- [x] Frontend utilities and hooks have unit test coverage
|
||||
- [ ] Frontend components have basic render/interaction tests
|
||||
- [x] Frontend components have basic render/interaction tests
|
||||
Reference in New Issue
Block a user