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

Function writeIndex

packages/cli/src/utils/variables.test.ts:101–105  ·  view source on GitHub ↗
(html: string)

Source from the content-addressed store, hash-verified

99 });
100
101 function writeIndex(html: string): string {
102 const path = join(tmpDir, "index.html");
103 writeFileSync(path, html);
104 return path;
105 }
106
107 it("returns [] when the project has no data-composition-variables declarations", () => {
108 const indexPath = writeIndex(`<html><body><div data-composition-id="x"></div></body></html>`);

Callers 1

variables.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected