gsxdsm
f92c255e45
FN-7457: stabilize plugin runner lifecycle hook tests
Replace real timer waits with a bounded microtask flush for plugin runner lifecycle hook tests.
- Add a shared flushMicrotasks helper for fire-and-forget hook assertions.
- Update task lifecycle hook tests to avoid setTimeout-based settling delays.
- Document the test-settling requirement with an FNXC comment.
Files changed:
.../engine/src/__tests__/plugin-runner.test.ts | 23 ++++++++++++++--------
1 file changed, 15 insertions(+), 8 deletions(-)
Fusion-Task-Id: FN-7457
Fusion-Task-Lineage: 8a4eb36c-4e36-4c97-a88d-d76b8f410dc8
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-07-02 22:53:51 -07:00
..
2026-07-02 22:53:51 -07:00
2026-07-02 00:22:58 -07:00
2026-07-02 00:22:58 -07:00
2026-06-08 15:19:27 -07:00
2026-07-02 11:38:31 -07:00