aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGravatar Hanaasagi <ambiguous404@gmail.com> 2023-07-11 20:10:25 +0900
committerGravatar Hanaasagi <ambiguous404@gmail.com> 2023-07-11 20:32:09 +0900
commit17031936c852c2973eacf0929e762972a76ec7bf (patch)
treea2416f23b9bd6cae2115c08ea748cb10ce7cffbe /test
parent0c2df4ae012fdde46b2f61de17e640111cc9379b (diff)
downloadbun-17031936c852c2973eacf0929e762972a76ec7bf.tar.gz
bun-17031936c852c2973eacf0929e762972a76ec7bf.tar.zst
bun-17031936c852c2973eacf0929e762972a76ec7bf.zip
small fix, check if the method has been reassigned.
Diffstat (limited to 'test')
-rw-r--r--test/js/node/http/node-http.test.ts2
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 167cb9883..0e7b3ca13 100644
--- a/test/js/node/http/node-http.test.ts
+++ b/test/js/node/http/node-http.test.ts
@@ -530,7 +530,7 @@ describe("node:http", () => {
req.end();
});
});
- it("re-implemented writeHead, issue#3585", done => {
+ it("reassign writeHead method, issue#3585", done => {
runTest(done, (server, serverPort, done) => {
const req = request(`http://localhost:${serverPort}/customWriteHead`, res => {
expect(res.headers["content-type"]).toBe("text/plain");