From c543f4f76c0fd187be684b8571d1528dad84744e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerg=C5=91=20M=C3=B3ricz?= Date: Thu, 26 Dec 2024 20:31:51 +0100 Subject: [PATCH] feat(scrapeURL/pdf): update mock Blob implementation to pass TypeScript --- apps/api/src/scraper/scrapeURL/engines/pdf/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/api/src/scraper/scrapeURL/engines/pdf/index.ts b/apps/api/src/scraper/scrapeURL/engines/pdf/index.ts index 9d2f11b1..6bac2ba4 100644 --- a/apps/api/src/scraper/scrapeURL/engines/pdf/index.ts +++ b/apps/api/src/scraper/scrapeURL/engines/pdf/index.ts @@ -32,6 +32,9 @@ async function scrapePDFWithLlamaParse( tempFilePath, ) as unknown as ReadableStream; }, + bytes() { + throw Error("Unimplemented in mock Blob: bytes"); + }, arrayBuffer() { throw Error("Unimplemented in mock Blob: arrayBuffer"); },