diff options
author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-02-13 13:05:10 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-13 02:05:10 +0000 |
commit | 92f61882531a0dfa2bd57ab0804daec88721760b (patch) | |
tree | 29be9e4401437f842a0c4630781a3283d0ab6bb1 /tests/unit_node/http_test.ts | |
parent | d236fc8b434a997f3588f673c5841b18ebdd8086 (diff) |
chore: use `@std` import instead of `@test_util/std` (#22398)
This PR:
1. Replaces `@test_util/std`-prefixed imports with `@std`.
2. Adds `@std/` import map entries to a few `deno.json` files.
Diffstat (limited to 'tests/unit_node/http_test.ts')
-rw-r--r-- | tests/unit_node/http_test.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit_node/http_test.ts b/tests/unit_node/http_test.ts index 28e67ddad..1c3078558 100644 --- a/tests/unit_node/http_test.ts +++ b/tests/unit_node/http_test.ts @@ -3,12 +3,12 @@ import EventEmitter from "node:events"; import http, { type RequestOptions } from "node:http"; import https from "node:https"; -import { assert, assertEquals, fail } from "@test_util/std/assert/mod.ts"; -import { assertSpyCalls, spy } from "@test_util/std/testing/mock.ts"; +import { assert, assertEquals, fail } from "@std/assert/mod.ts"; +import { assertSpyCalls, spy } from "@std/testing/mock.ts"; import { gzip } from "node:zlib"; import { Buffer } from "node:buffer"; -import { serve } from "@test_util/std/http/server.ts"; +import { serve } from "@std/http/server.ts"; import { execCode } from "../unit/test_util.ts"; Deno.test("[node/http listen]", async () => { |