diff options
Diffstat (limited to 'cli/worker.rs')
-rw-r--r-- | cli/worker.rs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/cli/worker.rs b/cli/worker.rs index 8ce46c077..361aad2ec 100644 --- a/cli/worker.rs +++ b/cli/worker.rs @@ -639,9 +639,13 @@ impl CliMainWorkerFactory { options, ); - if self.shared.subcommand.is_test_or_jupyter() { + if self.shared.subcommand.needs_test() { worker.js_runtime.execute_script_static( - "40_jupyter.js", + "ext:cli/40_testing.js", + include_str!("js/40_testing.js"), + )?; + worker.js_runtime.execute_script_static( + "ext:cli/40_jupyter.js", include_str!("js/40_jupyter.js"), )?; } |