brackt/app/routes/__tests__
Claude 40e1ba22b8
Some checks failed
🚀 Deploy / 🧪 Test (pull_request) Failing after 2m52s
🚀 Deploy / ʦ🔍 Typecheck & Lint (pull_request) Successful in 1m30s
🚀 Deploy / 🐳 Build (pull_request) Has been skipped
🚀 Deploy / 🚀 Deploy (pull_request) Has been skipped
Fix sports.test.tsx timeout: replace img-rendering SportIcon mock with null stub
The previous fix mocked SportIcon to render <img> elements. In jsdom, those
images fail to load and schedule async error callbacks that can stall React's
act() settlement loop when the full suite runs under load, causing the test to
hit the 5000ms timeout intermittently.

Replace the async mock factory with a trivial synchronous stub that returns
null — no images, no async events. resolveSportIconUrl URL resolution is
already covered by its own unit tests, so no coverage is lost.

https://claude.ai/code/session_012ACmUs2vAwEF9jZu7Guos2
2026-06-09 23:12:34 +00:00
..
admin.simulators.test.ts Hide completed seasons in admin tools (#418) 2026-05-12 16:52:26 -07:00
admin.sports-seasons.$id.test.ts Improve unmatched team reconciliation UX (#425) 2026-05-14 16:45:02 -07:00
admin.sports-seasons.helpers.test.ts Hide completed seasons in admin tools (#418) 2026-05-12 16:52:26 -07:00
admin.sports.$id.test.ts Add public sports overview page (#451) 2026-05-19 23:02:58 -07:00
admin.sports.new.test.ts Add public sports overview page (#451) 2026-05-19 23:02:58 -07:00
admin.tournaments.$id.test.tsx Canonical tournament layer: 2026-05-01 21:04:48 -07:00
api.upload-sport-icon.test.ts Add Cloudinary sports icon uploads (#393) 2026-05-07 16:07:34 -07:00
api.webhooks.cloudinary.test.ts Add Cloudinary-backed avatar system (#385) 2026-05-06 14:47:37 -07:00
batch-results-helpers.test.ts feat: batch qualifying results entry (#290) 2026-04-12 14:52:22 -07:00
check-email.test.ts Add email verification for email/password signups (#400) 2026-05-09 23:58:45 -07:00
onboarding.test.ts Add user onboarding flow with username selection (#430) 2026-05-15 11:17:15 -07:00
root.onboarding-exempt.test.ts Add admin user management interface with search and username editing (#431) 2026-05-15 12:07:51 -07:00
sports.test.tsx Fix sports.test.tsx timeout: replace img-rendering SportIcon mock with null stub 2026-06-09 23:12:34 +00:00