fix(core): update

This commit is contained in:
2023-07-26 14:17:11 +02:00
parent 4cd4431565
commit aa8fb165eb
11 changed files with 1934 additions and 1229 deletions

View File

@ -1,4 +1,4 @@
import { expect, tap } from '@pushrocks/tapbundle';
import { expect, tap } from '@push.rocks/tapbundle';
import * as smartpdf from '../ts/index.js';
let testSmartPdf: smartpdf.SmartPdf;
@ -39,8 +39,8 @@ tap.test('should create a valid PDFResult', async () => {
}
fs.writeFileSync(`.nogit/${fileName}`, pdfResult.buffer as Buffer);
};
await writePDfToDisk('https://maintainedby.lossless.com/', '1.pdf');
await writePDfToDisk('https://rendertron.lossless.one/render/https://layer.io', '2.pdf');
await writePDfToDisk('https://lossless.com/', '1.pdf');
await writePDfToDisk('https://layer.io', '2.pdf');
});
tap.test('should combine pdfs', async () => {