Files
hermes-agent/apps
teknium1 9b5f5a0c84 fix(desktop): local-runtime job poller no longer throws after the test env tears down
The 700ms re-poll in local-runtime-jobs.ts reached for `window.setTimeout`;
when a test left a running job in the store, the timer fired after vitest had
torn down jsdom and threw `ReferenceError: window is not defined` as an
unhandled error, failing the whole check:test:ui lane on main even though all
7808 tests passed. Use the global timer functions (identical in the renderer)
and drain the running-job state after each local-models-settings test so no
poll is armed across test boundaries.
2026-09-15 04:50:07 -07:00
..