Skip to content

Commit

Permalink
chore: fix pageRanges param
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytere committed Apr 11, 2022
1 parent e380281 commit 9bdd930
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions spec-main/api-web-contents-spec.ts
Expand Up @@ -1871,10 +1871,7 @@ describe('webContents module', () => {

it('respects custom settings', async () => {
const data = await w.webContents.printToPDF({
pageRanges: {
from: 0,
to: 2
},
pageRanges: '1-3',
landscape: true
});

Expand Down

0 comments on commit 9bdd930

Please sign in to comment.