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/coverage | |
| 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/coverage')
5 files changed, 5 insertions, 5 deletions
diff --git a/tests/testdata/coverage/no_snaps_included/no_snaps_included_test.ts b/tests/testdata/coverage/no_snaps_included/no_snaps_included_test.ts index c9cc648ea..5ec2117f0 100644 --- a/tests/testdata/coverage/no_snaps_included/no_snaps_included_test.ts +++ b/tests/testdata/coverage/no_snaps_included/no_snaps_included_test.ts @@ -1,4 +1,4 @@ -import { assertSnapshot } from "../../../../tests/util/std/testing/snapshot.ts"; +import { assertSnapshot } from "@std/testing/snapshot.ts"; import { truth } from "./no_snaps_included.ts"; Deno.test("the truth", () => { diff --git a/tests/testdata/coverage/no_tests_included/foo.test.js b/tests/testdata/coverage/no_tests_included/foo.test.js index 4c835026a..e838badea 100644 --- a/tests/testdata/coverage/no_tests_included/foo.test.js +++ b/tests/testdata/coverage/no_tests_included/foo.test.js @@ -1,5 +1,5 @@ import { addNumbers } from "./foo.ts"; -import { assertEquals } from "../../../../tests/util/std/assert/mod.ts"; +import { assertEquals } from "@std/assert/mod.ts"; Deno.test("addNumbers works", () => { assertEquals(addNumbers(1, 2), 3); diff --git a/tests/testdata/coverage/no_tests_included/foo.test.mts b/tests/testdata/coverage/no_tests_included/foo.test.mts index 4c835026a..e838badea 100644 --- a/tests/testdata/coverage/no_tests_included/foo.test.mts +++ b/tests/testdata/coverage/no_tests_included/foo.test.mts @@ -1,5 +1,5 @@ import { addNumbers } from "./foo.ts"; -import { assertEquals } from "../../../../tests/util/std/assert/mod.ts"; +import { assertEquals } from "@std/assert/mod.ts"; Deno.test("addNumbers works", () => { assertEquals(addNumbers(1, 2), 3); diff --git a/tests/testdata/coverage/no_tests_included/foo.test.ts b/tests/testdata/coverage/no_tests_included/foo.test.ts index 4c835026a..e838badea 100644 --- a/tests/testdata/coverage/no_tests_included/foo.test.ts +++ b/tests/testdata/coverage/no_tests_included/foo.test.ts @@ -1,5 +1,5 @@ import { addNumbers } from "./foo.ts"; -import { assertEquals } from "../../../../tests/util/std/assert/mod.ts"; +import { assertEquals } from "@std/assert/mod.ts"; Deno.test("addNumbers works", () => { assertEquals(addNumbers(1, 2), 3); diff --git a/tests/testdata/coverage/no_transpiled_lines/index.ts b/tests/testdata/coverage/no_transpiled_lines/index.ts index 27b2dd758..5cda523fb 100644 --- a/tests/testdata/coverage/no_transpiled_lines/index.ts +++ b/tests/testdata/coverage/no_transpiled_lines/index.ts @@ -1,3 +1,3 @@ -export { assertStrictEquals } from "../../../../tests/util/std/assert/mod.ts"; +export { assertStrictEquals } from "@std/assert/mod.ts"; export * from "./interface.ts"; |
