1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-28 15:22:05 +03:00

log when using external chrome!

This commit is contained in:
Bruno Windels
2018-07-31 10:25:26 +02:00
parent 9a2f309486
commit 3876577218

View File

@ -36,7 +36,9 @@ async function runTests() {
console.log("running tests ...");
const options = {};
if (process.env.CHROME_PATH) {
options.executablePath = process.env.CHROME_PATH;
const path = process.env.CHROME_PATH;
console.log(`(using external chrome/chromium at ${path}, make sure it's compatible with puppeteer)`);
options.executablePath = path;
}
global.browser = await puppeteer.launch(options);
const page = await helpers.newPage();