summaryrefslogtreecommitdiff
path: root/tests/specs/test
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/test
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/test')
-rw-r--r--tests/specs/test/clean_flag/__test__.jsonc2
-rw-r--r--tests/specs/test/clean_flag/main.js2
-rw-r--r--tests/specs/test/clean_flag/sum_test.js2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/specs/test/clean_flag/__test__.jsonc b/tests/specs/test/clean_flag/__test__.jsonc
index 65ad097b1..b94612d36 100644
--- a/tests/specs/test/clean_flag/__test__.jsonc
+++ b/tests/specs/test/clean_flag/__test__.jsonc
@@ -1,5 +1,5 @@
{
- "args": "run -A main.js",
+ "args": "run -A --config ../../../config/deno.json main.js",
"exitCode": 0,
"output": "main.out"
}
diff --git a/tests/specs/test/clean_flag/main.js b/tests/specs/test/clean_flag/main.js
index 215c2229c..9ccdea1ce 100644
--- a/tests/specs/test/clean_flag/main.js
+++ b/tests/specs/test/clean_flag/main.js
@@ -1,4 +1,4 @@
-import { emptyDir } from "../../../util/std/fs/empty_dir.ts";
+import { emptyDir } from "@std/fs/empty_dir.ts";
const DIR = "./coverage";
const COMMAND = new Deno.Command(Deno.execPath(), {
diff --git a/tests/specs/test/clean_flag/sum_test.js b/tests/specs/test/clean_flag/sum_test.js
index 3443fcbd3..eab3c53ad 100644
--- a/tests/specs/test/clean_flag/sum_test.js
+++ b/tests/specs/test/clean_flag/sum_test.js
@@ -1,5 +1,5 @@
import { sum } from "./sum.js";
-import { assertEquals } from "../../../util/std/assert/assert_equals.ts";
+import { assertEquals } from "@std/assert/assert_equals.ts";
Deno.test("sum()", () => {
assertEquals(sum(1, 2), 3);