diff options
| author | Matt Mastracci <matthew@mastracci.com> | 2024-02-07 09:51:28 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-07 09:51:28 -0700 |
| commit | ffbb1bad037528863fcc191f0eaf374211252713 (patch) | |
| tree | 9928b64886a34d5e12d22cf352371e8fc8d382b2 /cli/tests/unit/http_test.ts | |
| parent | 83d72e5c1c0b983f4b63f3f64f9a1de7600985f4 (diff) | |
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.
Diffstat (limited to 'cli/tests/unit/http_test.ts')
| -rw-r--r-- | cli/tests/unit/http_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tests/unit/http_test.ts b/cli/tests/unit/http_test.ts index a7f34f0ac..66cc53113 100644 --- a/cli/tests/unit/http_test.ts +++ b/cli/tests/unit/http_test.ts @@ -1,5 +1,5 @@ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. -import { Buffer, BufReader, BufWriter } from "../../../test_util/std/io/mod.ts"; +import { Buffer, BufReader, BufWriter } from "@test_util/std/io/mod.ts"; import { TextProtoReader } from "../testdata/run/textproto.ts"; import { assert, @@ -10,7 +10,7 @@ import { delay, fail, } from "./test_util.ts"; -import { join } from "../../../test_util/std/path/mod.ts"; +import { join } from "@test_util/std/path/mod.ts"; const listenPort = 4507; const listenPort2 = 4508; |
