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

Function createProjectDir

packages/studio-server/src/routes/files.test.ts:17–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15});
16
17function createProjectDir(): string {
18 const projectDir = mkdtempSync(join(tmpdir(), "hf-files-test-"));
19 tempDirs.push(projectDir);
20 writeFileSync(join(projectDir, "index.html"), "<html><body>Preview</body></html>");
21 return projectDir;
22}
23
24function createAdapter(projectDir: string): StudioApiAdapter {
25 return {

Callers 1

files.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected