()
| 52 | } |
| 53 | |
| 54 | function validSubCompHtml(): string { |
| 55 | return `<!doctype html><html><body> |
| 56 | <div data-composition-id="scene-title" data-width="1920" data-height="1080"> |
| 57 | <div class="title">Hello</div> |
| 58 | </div> |
| 59 | </body></html>`; |
| 60 | } |
| 61 | |
| 62 | // Shared assertion: lint a project referencing "compositions/scene-title.html" |
| 63 | // (or a custom srcPath) and return the missing_or_empty_sub_composition |