From 0a78bfb836f520d3709a32c8a978d08d33198d83 Mon Sep 17 00:00:00 2001 From: "Kevin (Kun) \"Kassimo\" Qian" Date: Thu, 16 Jan 2020 16:42:58 -0800 Subject: Add Deno.symbols and move internal fields for test (#3693) --- cli/js/internals_test.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 cli/js/internals_test.ts (limited to 'cli/js/internals_test.ts') diff --git a/cli/js/internals_test.ts b/cli/js/internals_test.ts new file mode 100644 index 000000000..055995fdf --- /dev/null +++ b/cli/js/internals_test.ts @@ -0,0 +1,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 + // eslint-disable-next-line @typescript-eslint/no-explicit-any + } = Deno[Deno.symbols.internal] as any; + assert(!!stringifyArgs); +}); -- cgit v1.2.3