summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/run/042_dyn_import_evalcontext.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-03-14 16:47:09 -0400
committerGitHub <noreply@github.com>2023-03-14 16:47:09 -0400
commit96ea5b1d3d7b4ddec386d8708dc8a01c5fa946e9 (patch)
tree6c0209413506bce00494dafda93f7c9026e917b6 /cli/tests/testdata/run/042_dyn_import_evalcontext.ts
parenteb990efcce1e5390e4ed76b858c05c6f9b3b6c11 (diff)
refactor: deno_core not using std::env::current_dir (#18173)
This commit changes "deno_core" to not rely on implicitly calling "std::env::current_dir()" when resolving module specifiers using APIs from "deno_core::modules_specifier". Supersedes https://github.com/denoland/deno/pull/15454
Diffstat (limited to 'cli/tests/testdata/run/042_dyn_import_evalcontext.ts')
-rw-r--r--cli/tests/testdata/run/042_dyn_import_evalcontext.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/tests/testdata/run/042_dyn_import_evalcontext.ts b/cli/tests/testdata/run/042_dyn_import_evalcontext.ts
index 6a9ffb971..386ae48ec 100644
--- a/cli/tests/testdata/run/042_dyn_import_evalcontext.ts
+++ b/cli/tests/testdata/run/042_dyn_import_evalcontext.ts
@@ -1,4 +1,5 @@
// @ts-expect-error "Deno[Deno.internal].core" is not a public interface
Deno[Deno.internal].core.evalContext(
"(async () => console.log(await import('./subdir/mod4.js')))()",
+ new URL("..", import.meta.url).href,
);