mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-08-29 03:44:06 +08:00
9bb8a0ddf6
Introduce a `settle` helper function to improve the stability of visual regression tests. The function ensures that fonts are loaded, animation frames have processed, and specific dynamic elements (like code blocks) have finished rendering before snapshots are taken. This helps reduce flakiness caused by asynchronous rendering in Storybook. Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>