( buffer: Uint8Array, config: FontBuildConfig, )
| 23 | }); |
| 24 | |
| 25 | const buildWithFixture = async ( |
| 26 | buffer: Uint8Array, |
| 27 | config: FontBuildConfig, |
| 28 | ): Promise<FontBuildResult> => { |
| 29 | const ctx = createFontContext(); |
| 30 | |
| 31 | try { |
| 32 | return await buildFont(ctx, [buffer], config); |
| 33 | } finally { |
| 34 | ctx.destroy(); |
| 35 | } |
| 36 | }; |
| 37 | |
| 38 | describe('buildFont integration with real fixtures', () => { |
| 39 | it('infers static metadata and groups multiple output formats into one face', async () => { |
no test coverage detected