Skip to content

Commit

Permalink
refactor: Rename devicePixelRatio to pixelRatio
Browse files Browse the repository at this point in the history
Mirror Android implementation found in Appium 2.
  • Loading branch information
dcalhoun committed Oct 16, 2023
1 parent e732502 commit 5d684e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-native-editor/__device-tests__/helpers/caps.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const ios = {
exports.iosLocal = ( { iPadDevice = false } ) => ( {
...ios,
deviceName: ! iPadDevice ? 'iPhone 13' : 'iPad Pro (9.7-inch)',
devicePixelRatio: ! iPadDevice ? 3 : 2,
pixelRatio: ! iPadDevice ? 3 : 2,
usePrebuiltWDA: true,
} );

Expand All @@ -20,7 +20,7 @@ exports.iosServer = ( { iPadDevice = false } ) => ( {
deviceName: ! iPadDevice
? 'iPhone 13 Simulator'
: 'iPad Pro (9.7 inch) Simulator',
devicePixelRatio: ! iPadDevice ? 3 : 2,
pixelRatio: ! iPadDevice ? 3 : 2,
} );

exports.android = {
Expand Down

0 comments on commit 5d684e2

Please sign in to comment.