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

Function validHtml

packages/cli/src/utils/lintProject.test.ts:12–18  ·  view source on GitHub ↗
(compId = "main")

Source from the content-addressed store, hash-verified

10}
11
12function validHtml(compId = "main"): string {
13 return `<html><body>
14 <div data-composition-id="${compId}" data-width="1920" data-height="1080" data-start="0" data-duration="10"></div>
15 <script src="https://cdn.jsdelivr.net/npm/gsap@3/dist/gsap.min.js"></script>
16 <script>window.__timelines = window.__timelines || {}; window.__timelines["${compId}"] = gsap.timeline({ paused: true });</script>
17</body></html>`;
18}
19
20function htmlWithMissingMediaId(): string {
21 return `<html><body>

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected