From 3116bb9c2d568a17e2267c191f288e3570ea1cf2 Mon Sep 17 00:00:00 2001 From: Jack Franklin Date: Thu, 30 Apr 2020 12:03:16 +0100 Subject: [PATCH] chore: log product + binary on unit test runs (#5785) This way it's super clear which product and binary you're testing against. --- test/mocha-utils.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/mocha-utils.js b/test/mocha-utils.js index 037d62aa344d9..bb66866d6f315 100644 --- a/test/mocha-utils.js +++ b/test/mocha-utils.js @@ -117,6 +117,11 @@ global.describeChromeOnly = (...args) => { if (process.env.COVERAGE) assertCoverage(); +console.log( + `Running unit tests with: + -> product: ${product} + -> binary: ${path.relative(process.cwd(), puppeteer.executablePath())}`); + exports.setupTestBrowserHooks = () => { before(async() => { const browser = await puppeteer.launch(defaultBrowserOptions);