summaryrefslogtreecommitdiff
path: root/cli/tests/integration/jupyter_tests.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-01-03 09:45:10 -0500
committerGitHub <noreply@github.com>2024-01-03 14:45:10 +0000
commit97937a097e8fe52cdefd55bf12a92e19d627aca4 (patch)
tree42cf3d2f8be398165f275cc9724385a8b0fde361 /cli/tests/integration/jupyter_tests.rs
parenta387efa46efc906e410041a46bf4659412dc49b4 (diff)
fix(jupyter): error message when install fails due to jupyter command not being on PATH (#21767)
We were failing silently in this scenario.
Diffstat (limited to 'cli/tests/integration/jupyter_tests.rs')
-rw-r--r--cli/tests/integration/jupyter_tests.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/cli/tests/integration/jupyter_tests.rs b/cli/tests/integration/jupyter_tests.rs
new file mode 100644
index 000000000..847290ef8
--- /dev/null
+++ b/cli/tests/integration/jupyter_tests.rs
@@ -0,0 +1,8 @@
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+
+itest!(jupyter_install_command_not_exists {
+ args: "jupyter --unstable --install",
+ output: "jupyter/install_command_not_exists.out",
+ envs: vec![("PATH".to_string(), "".to_string())],
+ exit_code: 1,
+});