/**
 * CommonJS stub for the ESM-only `file-type` package (v21). jest's CommonJS resolver cannot load
 * the real one, and `@tria-plc/api-common`'s minio.service `require("file-type")` at import time,
 * dragging the whole IAM stack down with it. minio.service only calls fileTypeFromBuffer when
 * actually processing an upload — never during pricing/booking tests — so a stub is sufficient to
 * let the full AppModule boot. Mapped via jest `moduleNameMapper` (^file-type$).
 */
export async function fileTypeFromBuffer(): Promise<undefined> {
  return undefined;
}
