gsxdsm
5ff7f37c24
FN-5728: fake-timer store-watcher polling tests
Speed up store-watcher polling coverage by replacing real-time waits with deterministic fake-timer advancement.
- Apply Vitest fake timers to watch-active polling tests in store-watcher coverage.
- Advance timers explicitly around polling cycles and task creation to avoid interval-based delays.
- Ensure watcher teardown restores real timers and stops polling cleanly.
- Update FN-5048 speed audit notes with the fake-timer rewrite details and new runtime sample.
Files changed:
docs/test-speed-audit-FN-5048.md | 4 ++--
packages/core/src/__tests__/store-watcher.test.ts | 19 +++++++++++++++++++
2 files changed, 21 insertions(+), 2 deletions(-)
Fusion-Task-Id: FN-5728
Fusion-Task-Lineage: 7cc1eed6-fe86-458d-94c3-8d0780ff7828
2026-05-30 12:58:47 -07:00
..
2026-05-30 10:06:51 -07:00
2026-05-30 00:18:41 -07:00
2026-05-30 12:58:47 -07:00
2026-05-30 10:31:29 -07:00
2026-05-30 08:29:04 -07:00
2026-05-30 00:18:41 -07:00
2026-05-30 09:43:02 -07:00
2026-05-30 00:18:41 -07:00
2026-05-30 00:18:41 -07:00
2026-05-28 21:23:48 -07:00
2026-05-30 00:18:41 -07:00