summaryrefslogtreecommitdiff
path: root/tests/specs/run
diff options
context:
space:
mode:
authorAsher Gomez <ashersaupingomez@gmail.com>2024-07-25 10:26:54 +1000
committerGitHub <noreply@github.com>2024-07-25 10:26:54 +1000
commitf248050cb467eaed8d65428b8808254e26797cc5 (patch)
tree7e43f16a8754a6313f65f0f65c037fdae2ce986f /tests/specs/run
parent795ed23b356dc044cfb497a6189d588604a6c335 (diff)
chore: use `@std` prefix for internal module specifiers (#24543)
This change aims to replace all relative import specifiers targeted at `tests/util/std` with mapped ones (using a `deno.json` file). Towards updating the `std` git submodule.
Diffstat (limited to 'tests/specs/run')
-rw-r--r--tests/specs/run/045_proxy/__test__.jsonc2
-rw-r--r--tests/specs/run/045_proxy/proxy_test.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/specs/run/045_proxy/__test__.jsonc b/tests/specs/run/045_proxy/__test__.jsonc
index d4fb7f60c..c448d3c35 100644
--- a/tests/specs/run/045_proxy/__test__.jsonc
+++ b/tests/specs/run/045_proxy/__test__.jsonc
@@ -1,4 +1,4 @@
{
- "args": "run -L debug --allow-net --allow-env --allow-run --allow-read --reload --quiet proxy_test.ts",
+ "args": "run -L debug --allow-net --allow-env --allow-run --allow-read --reload --quiet --config ../../../config/deno.json proxy_test.ts",
"output": "proxy_test.ts.out"
}
diff --git a/tests/specs/run/045_proxy/proxy_test.ts b/tests/specs/run/045_proxy/proxy_test.ts
index 582b0e638..d04356930 100644
--- a/tests/specs/run/045_proxy/proxy_test.ts
+++ b/tests/specs/run/045_proxy/proxy_test.ts
@@ -1,5 +1,5 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
-import { Server } from "../../../util/std/http/server.ts";
+import { Server } from "@std/http/server.ts";
const addr = Deno.args[1] || "localhost:4555";