openpencil/tests/engine
Danila Poyarkov 13f562adc6 JSX renderer in @open-pencil/core
TreeNode builder functions (Frame, Text, Rectangle, etc.) produce a
lightweight tree structure. Two rendering paths:

- renderTreeNode(): tree → scene graph (browser, no deps)
- renderJsx(): JSX string → esbuild → tree → scene graph (CLI/headless)

Tailwind-like shorthand props: w/h, bg, rounded, flex, gap, p/px/py,
justify, items, shadow, blur, etc.

27 tests covering all node types, layout props, effects, and nesting.
2026-03-01 10:42:06 +03:00
..
fig-import.test.ts Add fig-import unit tests for Tier 1 rendering features 2026-02-28 16:43:43 +03:00
fig-roundtrip.test.ts Add .fig roundtrip tests: real file parsing, property invariants, encode/decode cycle 2026-03-01 10:33:58 +03:00
layout.test.ts Add layout tests, fix cross-axis sizing bugs 2026-02-28 13:59:39 +03:00
render.test.ts JSX renderer in @open-pencil/core 2026-03-01 10:42:06 +03:00
scene-graph.test.ts Add variables support: collections, modes, bindings, UI panel 2026-03-01 01:47:52 +03:00