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

Function compositionWithHeadBoundary

packages/lint/src/rules/core.test.ts:17–31  ·  view source on GitHub ↗
(boundaryContent: string)

Source from the content-addressed store, hash-verified

15}
16
17function compositionWithHeadBoundary(boundaryContent: string): string {
18 return `
19<html>
20<head>
21 <style>
22 body { margin: 0; }
23 </style>
24</head>
25${boundaryContent}
26<body>
27 <div data-composition-id="c1" data-width="1920" data-height="1080"></div>
28 <script>window.__timelines = {};</script>
29</body>
30</html>`;
31}
32
33function compositionWithBodyPrefix(prefixContent: string, rootContent = ""): string {
34 return `

Callers 1

core.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected