(projectDir: string, name: string, html: string)
| 154 | </template>`; |
| 155 | |
| 156 | function writeComp(projectDir: string, name: string, html: string): void { |
| 157 | const dir = join(projectDir, "compositions"); |
| 158 | mkdirSync(dir, { recursive: true }); |
| 159 | writeFileSync(join(dir, name), html); |
| 160 | } |
| 161 | |
| 162 | it("parses GSAP tweens from a <template>-wrapped sub-composition with variable targets", async () => { |
| 163 | const projectDir = createProjectDir(); |