Skip to content

Commit

Permalink
Always use --no-sandbox 😡
Browse files Browse the repository at this point in the history
  • Loading branch information
rwjblue committed Jun 14, 2018
1 parent d6b2f1b commit f253f15
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions testem.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@ const report_file = process.env.BUILD_STAGINGDIRECTORY
? process.env.BUILD_STAGINGDIRECTORY + '/test-results/results.xml'
: 'test-results.xml';

const NO_SANDBOX = process.env.TRAVIS || process.env.TS_BUILD;

const CHROME_ARGS = {
mode: 'ci',
args: [
// --no-sandbox is needed when running Chrome inside a container
NO_SANDBOX && '--no-sandbox',
'--no-sandbox',
'--disable-gpu',
'--headless',
'--remote-debugging-port=0',
Expand Down

0 comments on commit f253f15

Please sign in to comment.