From ae65fcdcb529a6aeefbf2383fb9d6f65fa698c6f Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Wed, 1 Dec 2021 02:57:57 +0100 Subject: [PATCH] fix(core): update --- test/test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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();