diff --git a/test/test.ts b/test/test.ts index 7c4b3dd..0eea9c3 100644 --- a/test/test.ts +++ b/test/test.ts @@ -12,7 +12,8 @@ tap.test('should ocr a pdfBuffer', async () => { const smartfile = await import('@pushrocks/smartfile'); const pdfBuffer = (await smartfile.Smartfile.fromFilePath('./test/demo_without_textlayer.pdf')) .contentBuffer; - testOcrInstance.processPdfBuffer(pdfBuffer); + const resultBuffer = await testOcrInstance.processPdfBuffer(pdfBuffer); + console.log(resultBuffer); }); tap.start();