brackt/app
Chris Parsons 8ca1c9cf94
Some checks failed
🚀 Deploy / 🧪 Test (pull_request) Failing after 3m8s
🚀 Deploy / ʦ🔍 Typecheck & Lint (pull_request) Successful in 2m8s
🚀 Deploy / 🐳 Build (pull_request) Has been skipped
🚀 Deploy / 🚀 Deploy (pull_request) Has been skipped
Fix hook/test timeouts from dynamic imports in beforeEach/test bodies
Two patterns causing CI timeouts:

1. admin.sports-seasons.$id.test.ts: vi.resetModules() + multiple
   await import() in beforeEach forced full module re-evaluation on
   every test, exceeding the 10s hook timeout.

2. participant-expected-value.test.ts: await import() of the module
   under test inside test bodies caused the first import to run within
   the 5s test window. Also deleted 13 expect(true).toBe(true) stubs
   and used vi.hoisted() to make mock factories work with static imports.

Both files now use static top-level imports.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-09 22:22:21 -07:00
..
components Remove flaky context menu click tests 2026-06-09 22:04:57 -07:00
contexts feat: implement middleware and context provider for Express integration 2025-10-11 20:56:00 -07:00
hooks Fix three timer-pause gaps found in code review 2026-06-06 08:52:04 -07:00
lib Phase A: external HTTP cron jobs for snapshots, standings sync, and simulation (#79) 2026-06-08 07:42:14 +00:00
models Fix hook/test timeouts from dynamic imports in beforeEach/test bodies 2026-06-09 22:22:21 -07:00
routes Fix hook timeout in admin.sports-seasons.$id test 2026-06-09 22:13:49 -07:00
services sync racing standings (#80) 2026-06-10 04:25:48 +00:00
test sync racing standings (#80) 2026-06-10 04:25:48 +00:00
types Redesign standings page with sortable table, 7-day change, and chart repositioned (#205) 2026-03-22 11:05:13 -07:00
utils claude/sports-templates-conversion-ILWAM (#71) 2026-06-04 21:31:49 +00:00
welcome Redesign to dark-mode-only with navy palette and accent colors (#13) 2026-02-20 19:26:11 -08:00
app.css Add electric flash + fade animation for draft picks, fixes #381 (#407) 2026-05-10 23:17:29 -07:00
entry.client.tsx Filter unnecessary sentry css and js errors. 2026-03-15 10:24:57 -07:00
entry.server.tsx Replace console.* with structured logger, fix no-inferrable-types (closes #98) (#199) 2026-03-21 13:41:39 -07:00
root.tsx fix: resolve all 48 WCAG 2.2 AA accessibility issues (#439) 2026-05-17 20:11:38 -07:00
routes.ts Phase A: external HTTP cron jobs for snapshots, standings sync, and simulation (#79) 2026-06-08 07:42:14 +00:00