(path: string)
| 28 | * Load a fixture file as bytes. |
| 29 | */ |
| 30 | export async function loadFixture(path: string): Promise<Uint8Array> { |
| 31 | const buffer = await readFile(path); |
| 32 | |
| 33 | return new Uint8Array(buffer); |
| 34 | } |
| 35 | |
| 36 | /** |
| 37 | * Get the heavy PDF fixture (~10MB). |
no outgoing calls
no test coverage detected