feat(scrapeURL/pdf): update mock Blob implementation to pass TypeScript

This commit is contained in:
Gergő Móricz 2024-12-26 20:31:51 +01:00
parent f15ef0e758
commit c543f4f76c

View File

@ -32,6 +32,9 @@ async function scrapePDFWithLlamaParse(
tempFilePath, tempFilePath,
) as unknown as ReadableStream<Uint8Array>; ) as unknown as ReadableStream<Uint8Array>;
}, },
bytes() {
throw Error("Unimplemented in mock Blob: bytes");
},
arrayBuffer() { arrayBuffer() {
throw Error("Unimplemented in mock Blob: arrayBuffer"); throw Error("Unimplemented in mock Blob: arrayBuffer");
}, },