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> |
||
|---|---|---|
| .. | ||
| components | ||
| contexts | ||
| hooks | ||
| lib | ||
| models | ||
| routes | ||
| services | ||
| test | ||
| types | ||
| utils | ||
| welcome | ||
| app.css | ||
| entry.client.tsx | ||
| entry.server.tsx | ||
| root.tsx | ||
| routes.ts | ||