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/perf_hooks_test.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'cli/tests/unit_node/perf_hooks_test.ts') diff --git a/cli/tests/unit_node/perf_hooks_test.ts b/cli/tests/unit_node/perf_hooks_test.ts index 6e25444e4..004eedfd6 100644 --- a/cli/tests/unit_node/perf_hooks_test.ts +++ b/cli/tests/unit_node/perf_hooks_test.ts @@ -1,10 +1,7 @@ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. import * as perfHooks from "node:perf_hooks"; import { performance } from "node:perf_hooks"; -import { - assertEquals, - assertThrows, -} from "../../../test_util/std/assert/mod.ts"; +import { assertEquals, assertThrows } from "@test_util/std/assert/mod.ts"; Deno.test({ name: "[perf_hooks] performance", -- cgit v1.2.3