chore: log product + binary on unit test runs (#5785)

This way it's super clear which product and binary you're testing against.
This commit is contained in:
Jack Franklin
2020-04-30 12:03:16 +01:00
committed by GitHub
parent 541281b9f3
commit 3116bb9c2d

View File

@@ -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);