(headContent: string)
| 63 | } |
| 64 | |
| 65 | function templateCompositionWithHead(headContent: string): string { |
| 66 | return ` |
| 67 | <template> |
| 68 | <html> |
| 69 | <head> |
| 70 | ${headContent} |
| 71 | </head> |
| 72 | <body> |
| 73 | <div data-composition-id="c1" data-width="1920" data-height="1080"></div> |
| 74 | </body> |
| 75 | </html> |
| 76 | </template>`; |
| 77 | } |
| 78 | |
| 79 | describe("core rules", () => { |
| 80 | it("reports error when root is missing data-composition-id", async () => { |