mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 04:55:58 +03:00
[PR #798] [MERGED] test: speed up palette detection tests #1574
Labels
No labels
bug
core
documentation
feature
good first issue
help wanted
pull-request
question
react
solid
tmux
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentui#1574
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/anomalyco/opentui/pull/798
Author: @simonklee
Created: 3/9/2026
Status: ✅ Merged
Merged: 3/9/2026
Merged by: @kommander
Base:
main← Head:get-palette-test📝 Commits (1)
1e02deftest: speed up palette detection tests📊 Changes
4 files changed (+400 additions, -484 deletions)
View changed files
📝
packages/core/src/lib/terminal-palette.test.ts(+212 -282)📝
packages/core/src/lib/terminal-palette.ts(+18 -10)📝
packages/core/src/renderer.ts(+13 -3)📝
packages/core/src/tests/renderer.palette.test.ts(+157 -189)📄 Description
Add clock into palette detection so getPalette tests. This removes wall-clock waits and makes the suite deterministic.
instead of
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.