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/internal/scrypt_test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/tests/unit_node/internal/scrypt_test.ts') diff --git a/cli/tests/unit_node/internal/scrypt_test.ts b/cli/tests/unit_node/internal/scrypt_test.ts index 68eb51dc2..bd846ba8d 100644 --- a/cli/tests/unit_node/internal/scrypt_test.ts +++ b/cli/tests/unit_node/internal/scrypt_test.ts @@ -1,7 +1,7 @@ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. import { scrypt, scryptSync } from "node:crypto"; import { Buffer } from "node:buffer"; -import { assertEquals } from "../../../../test_util/std/assert/mod.ts"; +import { assertEquals } from "@test_util/std/assert/mod.ts"; Deno.test("scrypt works correctly", async () => { const { promise, resolve } = Promise.withResolvers(); -- cgit v1.2.3