summaryrefslogtreecommitdiff
path: root/cli/tests/unit/internals_test.ts
blob: f8b8df6981f04ad135260d56510abb22edd3e387 (plain)
1
2
3
4
5
6
7
8
9
10
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { assert, unitTest } from "./test_util.ts";

unitTest(function internalsExists(): void {
  const {
    inspectArgs,
    // @ts-expect-error TypeScript (as of 3.7) does not support indexing namespaces by symbol
  } = Deno[Deno.internal];
  assert(!!inspectArgs);
});