/** Minimal JPEG (SOI + EOI) used only for API/storage tests. */ export const TINY_JPEG = Buffer.from([0xff, 0xd8, 0xff, 0xd9]); export const TINY_PNG = Buffer.from([ 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, ]); export function jpegFile(name = "page.jpg"): File { return new File([TINY_JPEG], name, { type: "image/jpeg" }); }