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.
This commit is contained in:
Matt Mastracci 2024-02-07 09:51:28 -07:00 committed by GitHub
parent 83d72e5c1c
commit ffbb1bad03
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
92 changed files with 139 additions and 205 deletions

View file

@ -1,6 +1,6 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
import { AsyncLocalStorage, AsyncResource } from "node:async_hooks";
import { assert, assertEquals } from "../../../test_util/std/assert/mod.ts";
import { assert, assertEquals } from "@test_util/std/assert/mod.ts";
Deno.test(async function foo() {
const asyncLocalStorage = new AsyncLocalStorage();