fix(core): update

This commit is contained in:
2019-05-29 00:27:43 +02:00
parent 20847362a1
commit e981d61a54
10 changed files with 578 additions and 343 deletions

View File

@ -12,10 +12,14 @@ tap.test('should create a pdf from html string', async () => {
await testSmartPdf.getPdfForHtmlString('hi');
});
tap.test('should create a pdf from website', async () => {
tap.test('should create a pdf from website as A4', async () => {
await testSmartPdf.getPdfForWebsite('https://maintainedby.lossless.com');
});
tap.test('should create a pdf from website as single page PDF', async () => {
await testSmartPdf.getFullWebsiteAsSinglePdf('https://maintainedby.lossless.com');
});
tap.test('should be able to close properly', async () => {
await testSmartPdf.close();
});