diff options
author | 2023-05-11 01:16:46 -0700 | |
---|---|---|
committer | 2023-05-11 01:16:46 -0700 | |
commit | e125ed2aa3840afc448509894d9e3c02ac9bc131 (patch) | |
tree | 1b6d6bb7a5a67e672e29f74320ac55de5141376c /test/js/node/http/node-http.test.ts | |
parent | 5ffee9477cc856d975b6ac8577f25396b55e8403 (diff) | |
download | bun-e125ed2aa3840afc448509894d9e3c02ac9bc131.tar.gz bun-e125ed2aa3840afc448509894d9e3c02ac9bc131.tar.zst bun-e125ed2aa3840afc448509894d9e3c02ac9bc131.zip |
Report timings for failing tests too
Diffstat (limited to 'test/js/node/http/node-http.test.ts')
-rw-r--r-- | test/js/node/http/node-http.test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/js/node/http/node-http.test.ts b/test/js/node/http/node-http.test.ts index fd2673728..726453217 100644 --- a/test/js/node/http/node-http.test.ts +++ b/test/js/node/http/node-http.test.ts @@ -488,7 +488,6 @@ describe("node:http", () => { it("should return response with lowercase headers", done => { runTest(done, (server, serverPort, done) => { const req = request(`http://localhost:${serverPort}/lowerCaseHeaders`, res => { - console.log(res.headers); expect(res.headers["content-type"]).toBe("text/plain"); expect(res.headers["x-custom-header"]).toBe("custom_value"); done(); @@ -593,6 +592,7 @@ describe("node:http", () => { Bun.sleep(10).then(() => { res.writeHead(200, { "Content-Type": "text/plain" }); res.end("Hello World"); + server.close(); }); }); server.listen({ port: 0 }, (_err, host, port) => { |