summaryrefslogtreecommitdiff
path: root/cli/tests/unit_node/http_test.ts
diff options
context:
space:
mode:
authorLeo Kettmeir <crowlkats@toaxl.com>2023-07-10 13:48:35 +0200
committerGitHub <noreply@github.com>2023-07-10 13:48:35 +0200
commit5cda141f2d71e8379a14498db8fa2d997c477a52 (patch)
treede1c106063739f24a764a9194f93f23f2d1fa70c /cli/tests/unit_node/http_test.ts
parent1edc8693bfc4b75e3bb61fc8dc531bdf569b332d (diff)
fix(node/http): server use FakeSocket and add end method (#19660)
Fixes #19324
Diffstat (limited to 'cli/tests/unit_node/http_test.ts')
-rw-r--r--cli/tests/unit_node/http_test.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/tests/unit_node/http_test.ts b/cli/tests/unit_node/http_test.ts
index 2dbada770..baebd4678 100644
--- a/cli/tests/unit_node/http_test.ts
+++ b/cli/tests/unit_node/http_test.ts
@@ -261,6 +261,7 @@ Deno.test("[node/http] non-string buffer response", {
}, async () => {
const promise = deferred<void>();
const server = http.createServer((_, res) => {
+ res.socket!.end();
gzip(
Buffer.from("a".repeat(100), "utf8"),
{},