vi.resetModules() + multiple await import() in beforeEach forced full module re-evaluation on every test, exceeding the 10s hook timeout in CI. Replaced with static top-level imports — vi.mock() hoisting ensures mocks are in place before the module under test is imported. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| admin.simulators.test.ts | ||
| admin.sports-seasons.$id.test.ts | ||
| admin.sports-seasons.helpers.test.ts | ||
| admin.sports.$id.test.ts | ||
| admin.sports.new.test.ts | ||
| admin.tournaments.$id.test.tsx | ||
| api.upload-sport-icon.test.ts | ||
| api.webhooks.cloudinary.test.ts | ||
| batch-results-helpers.test.ts | ||
| check-email.test.ts | ||
| onboarding.test.ts | ||
| root.onboarding-exempt.test.ts | ||
| sports.test.tsx | ||