Skip to content

[Synced PR #2116] test(widgets): resolve timeout in VirtualList spring animation test #2115 - #44

Open
tmdeveloper007 wants to merge 1 commit into
mainfrom
mavis/termui-pr-2116-20260730013906
Open

[Synced PR #2116] test(widgets): resolve timeout in VirtualList spring animation test #2115#44
tmdeveloper007 wants to merge 1 commit into
mainfrom
mavis/termui-pr-2116-20260730013906

Conversation

@tmdeveloper007

Copy link
Copy Markdown
Owner

Upstream PR: Karanjot786/TermUI#2116

Original Author: itssagarK
State: Closed ✗
Merge Commit SHA: 26a2e905970f521919694138a38129f00148e389
Labels: stale, area:widgets, type:testing


PR description:

closes Issue Karanjot786#2115
Description:
Optimizes the VirtualList spring scroll animation test to run in 400 frames using 90ms steps (just below the 100ms clamp threshold) instead of 2,000 frames of 16ms. This speeds up the test execution by 5x while still ensuring the spring physics fully converge to the target offset.

Changes:

  • Modifies the loop size from 2000 to 400.
  • Changes the time step per iteration from 16 to 90.

Validation:

  • Ran `bun vitest…

_

Synced from upstream by Mavis TermUI Bot on 2026-07-30 01:39 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant