mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
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:
parent
541281b9f3
commit
3116bb9c2d
@ -117,6 +117,11 @@ global.describeChromeOnly = (...args) => {
|
|||||||
if (process.env.COVERAGE)
|
if (process.env.COVERAGE)
|
||||||
assertCoverage();
|
assertCoverage();
|
||||||
|
|
||||||
|
console.log(
|
||||||
|
`Running unit tests with:
|
||||||
|
-> product: ${product}
|
||||||
|
-> binary: ${path.relative(process.cwd(), puppeteer.executablePath())}`);
|
||||||
|
|
||||||
exports.setupTestBrowserHooks = () => {
|
exports.setupTestBrowserHooks = () => {
|
||||||
before(async() => {
|
before(async() => {
|
||||||
const browser = await puppeteer.launch(defaultBrowserOptions);
|
const browser = await puppeteer.launch(defaultBrowserOptions);
|
||||||
|
Loading…
Reference in New Issue
Block a user