Skip to content

Commit

Permalink
chore: log product + binary on unit test runs (#5785)
Browse files Browse the repository at this point in the history
This way it's super clear which product and binary you're testing against.
  • Loading branch information
jackfranklin committed Apr 30, 2020
1 parent 541281b commit 3116bb9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/mocha-utils.js
Expand Up @@ -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);
Expand Down

0 comments on commit 3116bb9

Please sign in to comment.