(schema = "[]")
| 28 | } |
| 29 | |
| 30 | function 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 | |
| 37 | function expectBatchError(fn: () => unknown, title: string): BatchRenderInputError { |
| 38 | try { |
no test coverage detected