feat(scrapeURL/pdf): update mock Blob implementation to pass TypeScript
This commit is contained in:
@@ -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");
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user