summaryrefslogtreecommitdiff
path: root/cli/js/tests/unit_test_runner.ts
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2020-04-28 00:06:03 +0100
committerGitHub <noreply@github.com>2020-04-28 01:06:03 +0200
commit4041a7b8576047021c2eec711f013c6f01e471e0 (patch)
treee49ade03d1d888ea83a9fccf51ba8742a6365cc7 /cli/js/tests/unit_test_runner.ts
parent2f0641885c62ba6a1e58ae0030f635efd3f35b2a (diff)
BREAKING: Remove Deno.symbols namespace (#4936)
Diffstat (limited to 'cli/js/tests/unit_test_runner.ts')
-rwxr-xr-xcli/js/tests/unit_test_runner.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/js/tests/unit_test_runner.ts b/cli/js/tests/unit_test_runner.ts
index 7a246cd39..12d9101b8 100755
--- a/cli/js/tests/unit_test_runner.ts
+++ b/cli/js/tests/unit_test_runner.ts
@@ -11,8 +11,8 @@ import {
reportToConn,
} from "./test_util.ts";
-// eslint-disable-next-line @typescript-eslint/no-explicit-any
-const internalObj = (Deno as any)[Deno.symbols.internal];
+// @ts-ignore
+const internalObj = Deno[Deno.internal];
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const reportToConsole = internalObj.reportToConsole as (message: any) => void;
// eslint-disable-next-line @typescript-eslint/no-explicit-any