mirror of
https://github.com/denoland/deno.git
synced 2025-07-23 13:15:16 +00:00
Add Deno.symbols and move internal fields for test (#3693)
This commit is contained in:
parent
cad7b3e4fe
commit
0a78bfb836
15 changed files with 92 additions and 25 deletions
|
@ -4,6 +4,7 @@
|
|||
import * as dispatch from "./dispatch.ts";
|
||||
import { sendSync } from "./dispatch_json.ts";
|
||||
import { assert } from "./util.ts";
|
||||
import { exposeForTest } from "./internals.ts";
|
||||
|
||||
export interface Location {
|
||||
/** The full url for the module, e.g. `file://some/file.ts` or
|
||||
|
@ -271,3 +272,5 @@ function prepareStackTrace(
|
|||
export function setPrepareStackTrace(ErrorConstructor: typeof Error): void {
|
||||
ErrorConstructor.prepareStackTrace = prepareStackTrace;
|
||||
}
|
||||
|
||||
exposeForTest("setPrepareStackTrace", setPrepareStackTrace);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue