mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 10:59:13 +00:00
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:
parent
83d72e5c1c
commit
ffbb1bad03
92 changed files with 139 additions and 205 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue