summaryrefslogtreecommitdiff
path: root/cli/tests/unit/jupyter_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/unit/jupyter_test.ts')
-rw-r--r--cli/tests/unit/jupyter_test.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/cli/tests/unit/jupyter_test.ts b/cli/tests/unit/jupyter_test.ts
new file mode 100644
index 000000000..40eaf4623
--- /dev/null
+++ b/cli/tests/unit/jupyter_test.ts
@@ -0,0 +1,9 @@
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+import { assertThrows } from "./test_util.ts";
+
+Deno.test("Deno.jupyter is not available", () => {
+ assertThrows(
+ () => Deno.jupyter,
+ "Deno.jupyter is only available in `deno jupyter` subcommand.",
+ );
+});