From e14190b9916f807e1715406cf6b8e732a0d3694c Mon Sep 17 00:00:00 2001 From: Vance Ingalls Date: Thu, 18 Jun 2026 14:50:21 -0700 Subject: [PATCH] test(sdk): render-faithfulness test for serialize() bake contract (WS-F) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds session.render-faithful.test.ts with 8 assertions covering the full op batch (setStyle + setText + setTiming + addGsapTween + moveElement). Confirms serialize() emits fully override-baked, render-ready HTML — this is the SDK-side guarantee that the backend render input needs no separate override-set field. Also asserts GSAP + + +`; + +// ─── helpers ────────────────────────────────────────────────────────────────── + +function extractScript(html: string): string { + const m = /