summaryrefslogtreecommitdiff
path: root/cli/tests/unit/internals_test.ts
blob: f96f251928b602f8e72124c1e77fcb13b11b894c (plain)
1
2
3
4
5
6
7
8
9
10
// Copyright 2018-2021 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);
});