Skip to content

Commit

Permalink
Update test to match TS definition of scale.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexnj committed Mar 22, 2023
1 parent 854fab1 commit dd6e3ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/test/gather/gatherers/full-page-screenshot-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ beforeEach(() => {
return {
cssContentSize: contentSize,
// See comment within _takeScreenshot() implementation
cssVisualViewport: {clientWidth: contentSize.width, clientHeight: contentSize.height},
cssVisualViewport: {clientWidth: contentSize.width, clientHeight: contentSize.height,
scale: 1.0},
};
}
if (method === 'Page.captureScreenshot') {
Expand Down

0 comments on commit dd6e3ff

Please sign in to comment.