Files
hermes-agent/apps
teknium1 7d2bb463c4 test(desktop): load ConfigSettings once in beforeAll so the autosave test's 15s budget is not spent on the import
The autosave test did `await import('./config-settings')` inside the test
body. That module graph is large: 1.5s cold on an idle machine, and on a
saturated CI runner (import 1682s aggregate across the run) it alone
crossed the 15s testTimeout twice today on PRs that never touched the file.
The assertions themselves take ~100ms. Hoisting the import into a
beforeAll with its own 60s hookTimeout keeps the test's budget for the
behaviour under test; the fault-injection mocks are hoisted vi.mock calls
and still apply.
2026-09-13 10:51:50 -07:00
..