fix(test): default DEBUGP to false (#989)

This commit is contained in:
Joel Einbinder 2020-02-13 13:18:19 -08:00 committed by GitHub
parent 8ed88c910a
commit d790b4c280
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,7 @@ module.exports.describe = ({testRunner, product, playwrightPath}) => {
const headless = !!valueFromEnv('HEADLESS', true);
const slowMo = valueFromEnv('SLOW_MO', 0);
const CI = valueFromEnv('CI', false);
const dumpProtocolOnFailure = CI || valueFromEnv('DEBUGP', true);
const dumpProtocolOnFailure = CI || valueFromEnv('DEBUGP', false);
function valueFromEnv(name, defaultValue) {
if (!(name in process.env))