diff options
| author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-07-25 10:26:54 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-25 10:26:54 +1000 |
| commit | f248050cb467eaed8d65428b8808254e26797cc5 (patch) | |
| tree | 7e43f16a8754a6313f65f0f65c037fdae2ce986f /tests/testdata/run/onload | |
| parent | 795ed23b356dc044cfb497a6189d588604a6c335 (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/testdata/run/onload')
| -rw-r--r-- | tests/testdata/run/onload/imported.ts | 2 | ||||
| -rw-r--r-- | tests/testdata/run/onload/main.ts | 2 | ||||
| -rw-r--r-- | tests/testdata/run/onload/nest_imported.ts | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/testdata/run/onload/imported.ts b/tests/testdata/run/onload/imported.ts index 5c412bd43..38649b9b3 100644 --- a/tests/testdata/run/onload/imported.ts +++ b/tests/testdata/run/onload/imported.ts @@ -1,5 +1,5 @@ // deno-lint-ignore-file no-window-prefix -import { assert } from "../../../../tests/util/std/assert/mod.ts"; +import { assert } from "@std/assert/mod.ts"; import "./nest_imported.ts"; const handler = (e: Event) => { diff --git a/tests/testdata/run/onload/main.ts b/tests/testdata/run/onload/main.ts index e3eae99fa..c0e120d96 100644 --- a/tests/testdata/run/onload/main.ts +++ b/tests/testdata/run/onload/main.ts @@ -1,5 +1,5 @@ // deno-lint-ignore-file no-window-prefix no-prototype-builtins -import { assert } from "../../../../tests/util/std/assert/mod.ts"; +import { assert } from "@std/assert/mod.ts"; import "./imported.ts"; assert(window.hasOwnProperty("onload")); diff --git a/tests/testdata/run/onload/nest_imported.ts b/tests/testdata/run/onload/nest_imported.ts index 61af36e0a..98775d943 100644 --- a/tests/testdata/run/onload/nest_imported.ts +++ b/tests/testdata/run/onload/nest_imported.ts @@ -1,5 +1,5 @@ // deno-lint-ignore-file no-window-prefix -import { assert } from "../../../../tests/util/std/assert/mod.ts"; +import { assert } from "@std/assert/mod.ts"; const handler = (e: Event) => { assert(e.type === "beforeunload" ? e.cancelable : !e.cancelable); |
