The Queue tests measured real setTimeout wall-clock time and asserted elapsed < 2 * threshold. On busy CI runners a 2400ms timer can take longer than 4800ms to fire, failing the assertion intermittently (seen in downstream validation runs). Switch to jest's modern fake timers so elapsed is exactly the timeout delay: the tests are deterministic and no longer spend ~5 seconds of real time waiting. |
||
|---|---|---|
| .. | ||
| app | ||
| cli | ||
| core | ||
| docs | ||
| i18n | ||
| ui | ||
| ui-next | ||