diff options
author | Matt Mastracci <matthew@mastracci.com> | 2024-02-07 09:51:28 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-07 09:51:28 -0700 |
commit | ffbb1bad037528863fcc191f0eaf374211252713 (patch) | |
tree | 9928b64886a34d5e12d22cf352371e8fc8d382b2 /cli/tests/unit/test_util.ts | |
parent | 83d72e5c1c0b983f4b63f3f64f9a1de7600985f4 (diff) |
chore(cli): Use @test_util for relative path for unit tests (#22327)
This removes the majority of `../../../../../../test_util` relative
imports from the codebase, allowing us to move this code more easily in
the future.
Diffstat (limited to 'cli/tests/unit/test_util.ts')
-rw-r--r-- | cli/tests/unit/test_util.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cli/tests/unit/test_util.ts b/cli/tests/unit/test_util.ts index 14d212b82..2f2730794 100644 --- a/cli/tests/unit/test_util.ts +++ b/cli/tests/unit/test_util.ts @@ -1,8 +1,8 @@ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. -import * as colors from "../../../test_util/std/fmt/colors.ts"; +import * as colors from "@test_util/std/fmt/colors.ts"; export { colors }; -import { join, resolve } from "../../../test_util/std/path/mod.ts"; +import { join, resolve } from "@test_util/std/path/mod.ts"; export { assert, assertEquals, @@ -19,10 +19,10 @@ export { fail, unimplemented, unreachable, -} from "../../../test_util/std/assert/mod.ts"; -export { delay } from "../../../test_util/std/async/delay.ts"; -export { readLines } from "../../../test_util/std/io/read_lines.ts"; -export { parse as parseArgs } from "../../../test_util/std/flags/mod.ts"; +} from "@test_util/std/assert/mod.ts"; +export { delay } from "@test_util/std/async/delay.ts"; +export { readLines } from "@test_util/std/io/read_lines.ts"; +export { parse as parseArgs } from "@test_util/std/flags/mod.ts"; export function pathToAbsoluteFileUrl(path: string): URL { path = resolve(path); |