From ffbb1bad037528863fcc191f0eaf374211252713 Mon Sep 17 00:00:00 2001 From: Matt Mastracci Date: Wed, 7 Feb 2024 09:51:28 -0700 Subject: 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. --- cli/tests/unit_node/_fs/_fs_link_test.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'cli/tests/unit_node/_fs/_fs_link_test.ts') diff --git a/cli/tests/unit_node/_fs/_fs_link_test.ts b/cli/tests/unit_node/_fs/_fs_link_test.ts index 8407a3fd7..15f15c706 100644 --- a/cli/tests/unit_node/_fs/_fs_link_test.ts +++ b/cli/tests/unit_node/_fs/_fs_link_test.ts @@ -1,10 +1,6 @@ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. -import * as path from "../../../../test_util/std/path/mod.ts"; -import { - assert, - assertEquals, - fail, -} from "../../../../test_util/std/assert/mod.ts"; +import * as path from "@test_util/std/path/mod.ts"; +import { assert, assertEquals, fail } from "@test_util/std/assert/mod.ts"; import { assertCallbackErrorUncaught } from "../_test_utils.ts"; import { link, linkSync } from "node:fs"; -- cgit v1.2.3