ai-code-battle/web/src/pages
jedarden 44f6e5c1ec fix(web): add matchMedia mock to prevent unhandled test errors
The window.matchMedia API (used for accessibility features) was not
mocked in tests, causing unhandled rejections when replay.ts tried to
check prefers-reduced-motion. Added the mock to both test-setup.ts
and the beforeEach hook in replay.test.ts to ensure it's available
before modules load.

Closes: bf-5cwi

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-25 00:18:32 -04:00
..
blog.ts verify(blog): verify blog page generates and renders AI match commentary posts 2026-04-25 10:40:36 -04:00
bot-profile.ts phase-9: implement bot profile cards with Canvas-rendered PNG and OG tags 2026-05-08 11:30:07 -04:00
bots.ts feat(web): progressive disclosure for dense pages per §16.15 2026-04-22 15:43:50 -04:00
clip-maker.ts phase-8: implement 5 social media format presets for clip maker 2026-05-08 10:50:41 -04:00
compete-hub.ts feat(web): code splitting per §16.7 — reduce app entry chunk 84% (10KB → 1.6KB gz) 2026-04-21 12:41:33 -04:00
docs-api.ts Phase 10: Fix API documentation routing and add schema download link 2026-05-08 15:02:25 -04:00
docs.ts Phase 10: Fix API documentation routing and add schema download link 2026-05-08 15:02:25 -04:00
evolution.ts feat(evolution): add progressive disclosure to generation log and below-fold sections per §16.15 2026-04-22 16:22:01 -04:00
feedback.ts fix(web): use /r2/replays/ URL for all replay links 2026-04-30 13:12:11 -04:00
home.ts feat(combat): rank matches by enemy-kill combat turns 2026-05-03 18:32:08 -04:00
leaderboard.ts feat(web): progressive disclosure for dense pages per §16.15 2026-04-22 15:43:50 -04:00
matches.ts fix(web): use /r2/replays/ URL for all replay links 2026-04-30 13:12:11 -04:00
not-found.ts feat(web): code splitting per §16.7 — reduce app entry chunk 84% (10KB → 1.6KB gz) 2026-04-21 12:41:33 -04:00
playlists.ts fix(web): use /r2/replays/ URL for all replay links 2026-04-30 13:12:11 -04:00
predictions.ts fix(web): remove unused imports in predictions.ts to fix TypeScript build 2026-04-21 16:15:33 -04:00
register.ts fix(types): add missing ReplayPlayer import and type annotation for transcript feature 2026-04-22 18:20:56 -04:00
replay.test.ts fix(web): add matchMedia mock to prevent unhandled test errors 2026-05-25 00:18:32 -04:00
replay.ts fix(web): distinguish 404 from generic errors in replay viewer 2026-05-24 23:04:58 -04:00
rivalries.ts fix(worker): remove unused net/http import in acb-worker 2026-04-22 15:55:45 -04:00
sandbox.ts feat(web): add combat_deaths to MatchResult and display in sandbox 2026-05-24 18:42:38 -04:00
season-detail.ts feat(web): code splitting per §16.7 — reduce app entry chunk 84% (10KB → 1.6KB gz) 2026-04-21 12:41:33 -04:00
seasons.ts feat(playlists): add playlist curation and rebuild logic per §10, with series/seasons/enrichment 2026-04-21 16:11:27 -04:00
series.ts feat(playlists): add playlist curation and rebuild logic per §10, with series/seasons/enrichment 2026-04-21 16:11:27 -04:00
watch-hub.ts feat(playlists): add playlist curation and rebuild logic per §10, with series/seasons/enrichment 2026-04-21 16:11:27 -04:00