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/error_stack_test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/js/error_stack_test.ts') diff --git a/cli/js/error_stack_test.ts b/cli/js/error_stack_test.ts index 79711ace4..e4e44c77f 100644 --- a/cli/js/error_stack_test.ts +++ b/cli/js/error_stack_test.ts @@ -2,7 +2,7 @@ import { test, assert } from "./test_util.ts"; // eslint-disable-next-line @typescript-eslint/no-explicit-any -const { setPrepareStackTrace } = Deno as any; +const { setPrepareStackTrace } = Deno[Deno.symbols.internal] as any; interface CallSite { getThis(): unknown; -- cgit v1.2.3