Commit eefcc4f3 authored by RobPruzan's avatar RobPruzan Committed by Jiachi Liu

update terminal logging fallback value

parent 26e70934
......@@ -11,7 +11,7 @@ export function getTerminalLoggingConfig():
process.env.__NEXT_BROWSER_DEBUG_INFO_IN_TERMINAL || 'true'
)
} catch {
return false
return true
}
}
......
......@@ -73,7 +73,7 @@ const forwardConsole: typeof console = {
// of test failures that require non trivial updates. Because we only omit
// logging to stdout/stderr by default, but still perform the entire log collection
// pipeline we wont be missing out on any important coverage, unless the code guarded here
// is bugged
// is bugged (but this should be test by the explicit NEXT_TEST_BROWSER_LOGS tests)
if (
process.env.__NEXT_TEST_MODE &&
!process.env.NEXT_TEST_BROWSER_LOGS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment