Pass Jest useStderr flag when debugging (#21741)
This prevents it from buffering adn suppressing all console logs until a test has completed running (When debugging in Chrome).
This commit is contained in:
parent
e577bfb1ce
commit
8426bb6956
|
@ -261,6 +261,9 @@ function getCommandArgs() {
|
|||
if (argv.debug) {
|
||||
args.unshift('--inspect-brk');
|
||||
args.push('--runInBand');
|
||||
|
||||
// Prevent console logs from being hidden until test completes.
|
||||
args.push('--useStderr');
|
||||
}
|
||||
|
||||
// CI Environments have limited workers.
|
||||
|
|
Loading…
Reference in New Issue