Skip to content

Commit

Permalink
Merge pull request #102 from nlfurniss/fix-travis
Browse files Browse the repository at this point in the history
fix Travis tests
  • Loading branch information
nlfurniss committed Feb 6, 2018
2 parents 162e21e + d56a32d commit 0a817ff
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions testem.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ module.exports = {
'--disable-gpu',
'--headless',
'--remote-debugging-port=0',
'--window-size=1440,900'
]
'--window-size=1440,900',
// --no-sandbox is needed when running Chrome inside a container
process.env.TRAVIS ? '--no-sandbox' : null,
].filter(Boolean)
}
}
};

0 comments on commit 0a817ff

Please sign in to comment.