Skip to content
This repository has been archived by the owner on Sep 1, 2020. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into stable-master
Browse files Browse the repository at this point in the history
  • Loading branch information
zandbelt committed Jan 22, 2018
2 parents 76c843c + 68ec154 commit 05193a4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/wrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@ const { clearCookies } = require('./helpers');

let browser;

const TRAVIS = 'TRAVIS' in process.env && 'CI' in process.env;

before(async function () {
browser = await puppeteer.launch();
browser = await puppeteer.launch(TRAVIS ? {
args: ['--no-sandbox'],
} : undefined);
global.tab = await browser.newPage();
});

Expand Down

0 comments on commit 05193a4

Please sign in to comment.