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

test(function internalsExists(): void {
  const {
    stringifyArgs
    // @ts-ignore TypeScript (as of 3.7) does not support indexing namespaces by symbol
  } = Deno[Deno.symbols.internal];
  assert(!!stringifyArgs);
});