[PR #163] [MERGED] Test utils + char snaphot tests #335

Closed
opened 2026-03-02 23:46:00 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opentui/pull/163
Author: @kommander
Created: 9/15/2025
Status: Merged
Merged: 9/15/2025
Merged by: @kommander

Base: mainHead: test-utils


📝 Commits (7)

📊 Changes

10 files changed (+335 additions, -34 deletions)

View changed files

📝 packages/core/scripts/build.ts (+7 -2)
📝 packages/core/src/buffer.ts (+8 -0)
📝 packages/core/src/renderables/Text.test.ts (+116 -28)
packages/core/src/renderables/__snapshots__/Text.test.ts.snap (+55 -0)
packages/core/src/testing.ts (+4 -0)
📝 packages/core/src/testing/test-renderer.ts (+15 -4)
📝 packages/core/src/zig.ts (+24 -0)
📝 packages/core/src/zig/buffer.zig (+78 -0)
📝 packages/core/src/zig/grapheme.zig (+19 -0)
📝 packages/core/src/zig/lib.zig (+9 -0)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opentui/pull/163 **Author:** [@kommander](https://github.com/kommander) **Created:** 9/15/2025 **Status:** ✅ Merged **Merged:** 9/15/2025 **Merged by:** [@kommander](https://github.com/kommander) **Base:** `main` ← **Head:** `test-utils` --- ### 📝 Commits (7) - [`6d1a969`](https://github.com/anomalyco/opentui/commit/6d1a969f7eab864bbdb528b6250461238547cc96) add testing entrypoint - [`2667c9f`](https://github.com/anomalyco/opentui/commit/2667c9f6e4306081b9dbc5a6581d9938584274df) real buffer char bytes - [`45f15c3`](https://github.com/anomalyco/opentui/commit/45f15c3091680b6722f70a2559b023162d5e734d) write line breaks - [`12727a6`](https://github.com/anomalyco/opentui/commit/12727a63ec1dfbcf59bf2118baafcfb46ad17822) captureFrame - [`f6207e6`](https://github.com/anomalyco/opentui/commit/f6207e6fd9780fc77c8b82be8af067fb8d903976) rename to captureCharFrame - [`1ac0eaa`](https://github.com/anomalyco/opentui/commit/1ac0eaa56627f4cfd448e0d0e3f3b82cca42026b) setup snapshots - [`acf1461`](https://github.com/anomalyco/opentui/commit/acf14612e21992125c16071d3f5552b1b664f714) text snapshots setup ### 📊 Changes **10 files changed** (+335 additions, -34 deletions) <details> <summary>View changed files</summary> 📝 `packages/core/scripts/build.ts` (+7 -2) 📝 `packages/core/src/buffer.ts` (+8 -0) 📝 `packages/core/src/renderables/Text.test.ts` (+116 -28) ➕ `packages/core/src/renderables/__snapshots__/Text.test.ts.snap` (+55 -0) ➕ `packages/core/src/testing.ts` (+4 -0) 📝 `packages/core/src/testing/test-renderer.ts` (+15 -4) 📝 `packages/core/src/zig.ts` (+24 -0) 📝 `packages/core/src/zig/buffer.zig` (+78 -0) 📝 `packages/core/src/zig/grapheme.zig` (+19 -0) 📝 `packages/core/src/zig/lib.zig` (+9 -0) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 23:46:00 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/opentui#335
No description provided.