(attrs: string, tween: string)
| 1017 | |
| 1018 | describe("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( |
no test coverage detected