summaryrefslogtreecommitdiff
path: root/tests/specs/future/runtime_api
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/future/runtime_api
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/future/runtime_api')
-rw-r--r--tests/specs/future/runtime_api/__test__.jsonc4
-rw-r--r--tests/specs/future/runtime_api/worker.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/specs/future/runtime_api/__test__.jsonc b/tests/specs/future/runtime_api/__test__.jsonc
index 7aceff5bf..c1b3b9b17 100644
--- a/tests/specs/future/runtime_api/__test__.jsonc
+++ b/tests/specs/future/runtime_api/__test__.jsonc
@@ -1,14 +1,14 @@
{
"steps": [
{
- "args": "run -A --unstable-fs main.js",
+ "args": "run -A --unstable-fs --config ../../../config/deno.json main.js",
"output": "main.out",
"envs": {
"DENO_FUTURE": "1"
}
},
{
- "args": "run -A --unstable-fs worker.js",
+ "args": "run -A --unstable-fs --config ../../../config/deno.json worker.js",
"output": "main.out",
"envs": {
"DENO_FUTURE": "1"
diff --git a/tests/specs/future/runtime_api/worker.js b/tests/specs/future/runtime_api/worker.js
index 64b8e07b8..36d35b7b2 100644
--- a/tests/specs/future/runtime_api/worker.js
+++ b/tests/specs/future/runtime_api/worker.js
@@ -1,4 +1,4 @@
-import { delay } from "../../../util/std/async/delay.ts";
+import { delay } from "@std/async/delay.ts";
const worker = new Worker(import.meta.resolve("./main.js"), { type: "module" });
await delay(1_000);