(
assets: { filename: string; content: string }[],
)
| 59 | * Each file is separated by a header line so diffs are readable. |
| 60 | */ |
| 61 | const serialiseAssets = ( |
| 62 | assets: { filename: string; content: string }[], |
| 63 | ): string => assets.map((a) => `/* ${a.filename} */\n${a.content}`).join('\n'); |
| 64 | |
| 65 | describe('renderFontFace', () => { |
| 66 | it('static font-face', async () => { |