Skip to content

Commit 51a6f41

Browse files
authored
Merge pull request #49 from ronco/rwjblue-patch-1
Avoid issues with Chrome suid on CI.
2 parents 7f31be0 + d6baec1 commit 51a6f41

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

testem.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,14 @@ module.exports = {
1111
Chrome: {
1212
mode: 'ci',
1313
args: [
14+
// --no-sandbox is needed when running Chrome inside a container
15+
process.env.TRAVIS ? '--no-sandbox' : null,
16+
1417
'--disable-gpu',
1518
'--headless',
1619
'--remote-debugging-port=0',
1720
'--window-size=1440,900'
18-
]
21+
].filter(Boolean)
1922
}
2023
}
2124
};

0 commit comments

Comments
 (0)