Files
OpenMAIC/tests
wyuc ec176e84d4 test(renderer): give heavy inline-math typesetting suites room on loaded runners (#1907)
## Summary

The package release gate (`publish-packages.yml` → "Validate release candidate") runs the `@openmaic/*` package suites concurrently. The suites that typeset ~1,000 KaTeX formulas (the inline-math hard-cap cases) take ~0.3–0.4 s each locally but exceed vitest's 5 s default on a loaded runner: the release run for fccbf82c failed twice on `inline math typesetting budget > shows formulas past the hard cap as text`, which blocks publishing `@openmaic/generation@0.3.19`. The same class of test (`tests/slide-renderer/inline-math-elements.test.ts` › "keeps progress through repeated commits with formulas too large to cache") also timed out once in the app unit-test job.

This raises the timeout to 30 s for only the four suites that contain those heavy cases (describe-level `{ timeout: 30_000 }`). No product code changes; test files are not publishable inputs, so no version bump.

## Test plan

- [x] Renderer `test/elements/text/inlineMath.test.tsx` + `test/snapshot/inlineMath.test.tsx` (30 passed)
- [x] `tests/slide-renderer/inline-math-elements.test.ts` (5 passed)
- [x] `pnpm check`, `pnpm lint`, `npx tsc --noEmit`, `node scripts/check-package-version-bumps.mjs origin/main`

🤖 Generated with [Claude Code](https://claude.com/claude-code)
2026-10-13 15:08:14 +08:00
..