Skip to content

test: render V2 sidebar with resolved theme - #33

Merged
danyel117 merged 1 commit into
mainfrom
fix/v2-sidebar-theme-tokens
Aug 20, 2026
Merged

test: render V2 sidebar with resolved theme#33
danyel117 merged 1 commit into
mainfrom
fix/v2-sidebar-theme-tokens

Conversation

@danyel117

Copy link
Copy Markdown
Contributor

Summary

  • use the real V2 ResolvedTheme in sidebar tests
  • cover native OpenTUI rendering with RGBA leaf tokens instead of string-only theme mocks
  • add the matching V2 theme package as a development dependency

Root cause

OpenTUI throws Expected ArrayBufferView but received Cell to a pointer when a theme color group is passed to fg. The runtime leaf-token fix is already present in 0.1.38, but the global TUI/CLI configs remained pinned to 0.1.31 and the tests used simplified strings that could not reproduce this failure.

Validation

  • bun run lint
  • bun run typecheck
  • bun test (213 pass)
  • bun run build
  • bun run pack:dry-run

@danyel117
danyel117 merged commit 4bdfb88 into main Aug 20, 2026
4 checks passed
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