(data: Uint8Array, name: string, type = 'image/jpeg')
| 18 | const encoder = new TextEncoder(); |
| 19 | |
| 20 | function makeMockFile(data: Uint8Array, name: string, type = 'image/jpeg'): File { |
| 21 | return buildReadableBinaryFile({ contents: data, name, type }); |
| 22 | } |
| 23 | |
| 24 | function makeWriters(overrides: Partial<ReconstructionZipFileWriters> = {}): ReconstructionZipFileWriters { |
| 25 | return { |
no test coverage detected