BREAKING CHANGE(API): now clearly naming PDF Results what they are.

This commit is contained in:
2019-11-19 15:53:14 +00:00
parent 1155656c2b
commit 9c19b4a3e4
2 changed files with 4 additions and 4 deletions

View File

@ -13,11 +13,11 @@ tap.test('should start the instance', async () => {
});
tap.test('should create a pdf from html string', async () => {
await testSmartPdf.getPdfForHtmlString('hi');
await testSmartPdf.getPdfResultForHtmlString('hi');
});
tap.test('should create a pdf from website as A4', async () => {
await testSmartPdf.getPdfForWebsite('https://www.wikipedia.org');
await testSmartPdf.getPdfResultForWebsite('https://www.wikipedia.org');
});
tap.test('should create a pdf from website as single page PDF', async () => {