fix(jupyter): Deno.test() panic (#21606)

Fixes https://github.com/denoland/deno/issues/21594

I verified locally that this fixes the problem. I'm working on testing 
harness for Jupyter kernel to catch regressions like this and will
add it in a follow up PR.
This commit is contained in:
Bartek Iwańczuk 2023-12-17 11:11:07 +01:00 committed by GitHub
parent cd480b481e
commit ceaa646a34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1245,7 +1245,9 @@ impl CliOptions {
self.flags.enable_op_summary_metrics
|| matches!(
self.flags.subcommand,
DenoSubcommand::Test(_) | DenoSubcommand::Repl(_)
DenoSubcommand::Test(_)
| DenoSubcommand::Repl(_)
| DenoSubcommand::Jupyter(_)
)
}