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

Function writeComp

packages/studio-server/src/routes/files.test.ts:156–160  ·  view source on GitHub ↗
(projectDir: string, name: string, html: string)

Source from the content-addressed store, hash-verified

154</template>`;
155
156 function writeComp(projectDir: string, name: string, html: string): void {
157 const dir = join(projectDir, "compositions");
158 mkdirSync(dir, { recursive: true });
159 writeFileSync(join(dir, name), html);
160 }
161
162 it("parses GSAP tweens from a <template>-wrapped sub-composition with variable targets", async () => {
163 const projectDir = createProjectDir();

Callers 1

files.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected