From 46a4bd5178f5aed22041422c431b5ab6f697865d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Wed, 27 Sep 2023 02:21:06 +0200 Subject: feat(unstable): add `Deno.jupyter.broadcast` API (#20656) Closes https://github.com/denoland/deno/issues/20591 --------- Co-authored-by: Kyle Kelley --- cli/tests/unit/jupyter_test.ts | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 cli/tests/unit/jupyter_test.ts (limited to 'cli/tests/unit') 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.", + ); +}); -- cgit v1.2.3