diff --git a/testem.js b/testem.js index 63d1edf5..c5f94d5f 100644 --- a/testem.js +++ b/testem.js @@ -12,11 +12,14 @@ module.exports = { Chrome: { mode: 'ci', args: [ + // --no-sandbox is needed when running Chrome inside a container + process.env.TRAVIS ? '--no-sandbox' : null, + '--disable-gpu', '--headless', '--remote-debugging-port=0', '--window-size=1440,900' - ] + ].filter(Boolean) } } };