summaryrefslogtreecommitdiff
path: root/tests/unit/internals_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/internals_test.ts')
-rw-r--r--tests/unit/internals_test.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/unit/internals_test.ts b/tests/unit/internals_test.ts
new file mode 100644
index 000000000..bb4c21793
--- /dev/null
+++ b/tests/unit/internals_test.ts
@@ -0,0 +1,10 @@
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+import { assert } from "./test_util.ts";
+
+Deno.test(function internalsExists() {
+ const {
+ inspectArgs,
+ // @ts-expect-error TypeScript (as of 3.7) does not support indexing namespaces by symbol
+ } = Deno[Deno.internal];
+ assert(!!inspectArgs);
+});