2020-01-16 19:42:58 -05:00
|
|
|
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
|
2020-09-27 06:22:32 -04:00
|
|
|
import { assert, unitTest } from "./test_util.ts";
|
2020-01-16 19:42:58 -05:00
|
|
|
|
2020-03-04 11:31:14 -05:00
|
|
|
unitTest(function internalsExists(): void {
|
2020-01-16 19:42:58 -05:00
|
|
|
const {
|
2020-07-11 00:52:18 -04:00
|
|
|
inspectArgs,
|
2020-05-26 10:02:16 -04:00
|
|
|
// @ts-expect-error TypeScript (as of 3.7) does not support indexing namespaces by symbol
|
2020-04-27 19:06:03 -04:00
|
|
|
} = Deno[Deno.internal];
|
2020-07-11 00:52:18 -04:00
|
|
|
assert(!!inspectArgs);
|
2020-01-16 19:42:58 -05:00
|
|
|
});
|