Skip to content

Commit d1efda9

Browse files
committed
Standardize window size for consistent test results.
1 parent d900349 commit d1efda9

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

jest-puppeteer.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
module.exports = {
22
launch: {
33
headless: process.env.CI === 'true',
4+
args: [`--window-size=1920,1080`],
5+
defaultViewport: {
6+
width: 1920,
7+
height: 1080
8+
}
49
},
510
server: {
611
command: 'npm run e2eserve',

0 commit comments

Comments
 (0)