summaryrefslogtreecommitdiff
path: root/cli/tests
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-01-18 23:16:14 +0100
committerGitHub <noreply@github.com>2024-01-18 23:16:14 +0100
commit88bc57d7643b4306d13cae72830a900cd81d1549 (patch)
tree97aedb550deed594be86717276332f4a7f91156b /cli/tests
parent35c1652f56f2a83380080b2c9942c595f80bd14d (diff)
feat(jupyter): don't require --unstable flag (#21963)
This commit removes the requirement for `--unstable` flag in `deno jupyter` subcommand. The process will no longer exit if this flag is not provided, however the subcommand itself is still considered unstable and might change in the future. Required for https://github.com/denoland/deno/pull/21452
Diffstat (limited to 'cli/tests')
-rw-r--r--cli/tests/integration/jupyter_tests.rs2
-rw-r--r--cli/tests/testdata/jupyter/install_command_not_exists.out1
2 files changed, 2 insertions, 1 deletions
diff --git a/cli/tests/integration/jupyter_tests.rs b/cli/tests/integration/jupyter_tests.rs
index 847290ef8..59c247e5d 100644
--- a/cli/tests/integration/jupyter_tests.rs
+++ b/cli/tests/integration/jupyter_tests.rs
@@ -1,7 +1,7 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
itest!(jupyter_install_command_not_exists {
- args: "jupyter --unstable --install",
+ args: "jupyter --install",
output: "jupyter/install_command_not_exists.out",
envs: vec![("PATH".to_string(), "".to_string())],
exit_code: 1,
diff --git a/cli/tests/testdata/jupyter/install_command_not_exists.out b/cli/tests/testdata/jupyter/install_command_not_exists.out
index 3d599f7fc..1bb176e20 100644
--- a/cli/tests/testdata/jupyter/install_command_not_exists.out
+++ b/cli/tests/testdata/jupyter/install_command_not_exists.out
@@ -1,3 +1,4 @@
+Warning "deno jupyter" is unstable and might change in the future.
error: Failed to spawn 'jupyter' command. Is JupyterLab installed (https://jupyter.org/install) and available on the PATH?
Caused by: