diff --git a/src/command.js b/src/command.js index b65fd8a..f8498de 100644 --- a/src/command.js +++ b/src/command.js @@ -1,6 +1,6 @@ const compareSnapshotCommand = defaultScreenshotOptions => { - const height = process.env.HEIGHT || '1440' - const width = process.env.WIDTH || '1980' + const height = process.env.HEIGHT || 1440 + const width = process.env.WIDTH || 1980 // Force screenshot resolution to keep consistency of test runs across machines Cypress.config('viewportHeight', height)