summaryrefslogtreecommitdiff
path: root/tests/wpt
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/wpt
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/wpt')
-rw-r--r--tests/wpt/runner/utils.ts2
-rwxr-xr-xtests/wpt/wpt.ts8
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/wpt/runner/utils.ts b/tests/wpt/runner/utils.ts
index 52b95eefe..988e06c09 100644
--- a/tests/wpt/runner/utils.ts
+++ b/tests/wpt/runner/utils.ts
@@ -1,7 +1,7 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
/// FLAGS
-import { parse } from "../../util/std/flags/mod.ts";
+import { parse } from "@std/flags/mod.ts";
import { join, resolve, ROOT_PATH } from "../../../tools/util.js";
export const {
diff --git a/tests/wpt/wpt.ts b/tests/wpt/wpt.ts
index 161ea1af9..fe226d5bc 100755
--- a/tests/wpt/wpt.ts
+++ b/tests/wpt/wpt.ts
@@ -1,4 +1,4 @@
-#!/usr/bin/env -S deno run --allow-write --allow-read --allow-net --allow-env --allow-run
+#!/usr/bin/env -S deno run --allow-write --allow-read --allow-net --allow-env --allow-run --config=tests/config/deno.json
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
// This script is used to run WPT tests for Deno.
@@ -32,9 +32,9 @@ import {
updateManifest,
wptreport,
} from "./runner/utils.ts";
-import { pooledMap } from "../util/std/async/pool.ts";
-import { blue, bold, green, red, yellow } from "../util/std/fmt/colors.ts";
-import { writeAll, writeAllSync } from "../util/std/io/write_all.ts";
+import { pooledMap } from "@std/async/pool.ts";
+import { blue, bold, green, red, yellow } from "@std/fmt/colors.ts";
+import { writeAll, writeAllSync } from "@std/io/write_all.ts";
import { saveExpectation } from "./runner/utils.ts";
class TestFilter {