MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / timingDoc

Function timingDoc

packages/sdk/src/engine/mutate.gsap.test.ts:1019–1026  ·  view source on GitHub ↗
(attrs: string, tween: string)

Source from the content-addressed store, hash-verified

1017
1018describe("handleSetTiming GSAP sync (CF2 #15/#16)", () => {
1019 function timingDoc(attrs: string, tween: string) {
1020 return parseMutable(
1021 `<div data-hf-id="hf-stage" data-hf-root style="width: 1280px; height: 720px">
1022 <div id="box" data-hf-id="hf-box" ${attrs}></div>
1023 <script>var tl = gsap.timeline({ paused: true }); ${tween} window.__timelines["t"] = tl;</script>
1024</div>`,
1025 );
1026 }
1027
1028 it("#15: a #domId-targeted tween shifts when the clip moves", () => {
1029 const parsed = timingDoc(

Callers 1

Calls 1

parseMutableFunction · 0.85

Tested by

no test coverage detected