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

Function writeIndex

packages/cli/src/commands/batchRender.test.ts:30–35  ·  view source on GitHub ↗
(schema = "[]")

Source from the content-addressed store, hash-verified

28}
29
30function writeIndex(schema = "[]"): string {
31 return writeJson(
32 "index.html",
33 `<html data-composition-variables='${schema}'><body><div data-composition-id="root"></div></body></html>`,
34 );
35}
36
37function expectBatchError(fn: () => unknown, title: string): BatchRenderInputError {
38 try {

Callers 1

Calls 1

writeJsonFunction · 0.70

Tested by

no test coverage detected