mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 04:55:58 +03:00
[PR #262] [CLOSED] test: Add comprehensive React test suite with SolidJS feature parity #1186
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#1186
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/262
Author: @zenyr
Created: 11/4/2025
Status: ❌ Closed
Base:
main← Head:test/add-react-test📝 Commits (7)
885fad8feat: add React testing utilities for CLI renderer878dda2test: add basic text rendering tests for Reactf721795test: add control flow tests for Reactbca4819test: add layout & styling tests for React264aa95test: add event handling tests for React048fbf3test: add textarea and CJK grapheme rendering tests78e85b1merge: integrate main's code style with layout test improvements and verify all tests pass📊 Changes
10 files changed (+924 additions, -53 deletions)
View changed files
➕
packages/react/src/testing.ts(+37 -0)➕
packages/react/tests/control-flow.test.tsx(+208 -0)➕
packages/react/tests/events.test.tsx(+91 -0)➕
packages/react/tests/grapheme/cjk/count-pattern.test.tsx(+32 -0)➕
packages/react/tests/grapheme/cjk/debug-bytes.test.tsx(+45 -0)➕
packages/react/tests/grapheme/cjk/hex-dump.test.tsx(+41 -0)➕
packages/react/tests/grapheme/cjk/punctuation-test.test.tsx(+40 -0)📝
packages/react/tests/layout.test.tsx(+0 -53)➕
packages/react/tests/simple-pattern.test.tsx(+50 -0)➕
packages/react/tests/textarea.test.tsx(+380 -0)📄 Description
Summary
Adds comprehensive test coverage to React reconciler with feature parity to SolidJS tests. 6 logical commits covering testing utilities, rendering, control flow, layout, events, and CJK grapheme rendering analysis. (effectively supersedes #256 albeit different)
Test Results
Coverage
Commits
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.