fix(core): update
This commit is contained in:
@ -55,8 +55,8 @@ tap.test('should merge pdfs', async () => {
|
||||
|
||||
tap.test('should create images from an pdf', async () => {
|
||||
const pdfObject = await testSmartPdf.readFileToPdfObject('.nogit/combined.pdf');
|
||||
const images = await testSmartPdf.convertPDFToJPGBytes(pdfObject.buffer);
|
||||
console.log(images);
|
||||
const images = await testSmartPdf.convertPDFToPngBytes(pdfObject.buffer);
|
||||
console.log(images.map((val) => val.length));
|
||||
});
|
||||
|
||||
tap.test('should be able to close properly', async () => {
|
||||
|
Reference in New Issue
Block a user