deno/cli/tests/unit/internals_test.ts
2024-01-01 19:58:21 +00:00

11 lines
333 B
TypeScript

// 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);
});