We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7acb63a commit fc0ef5aCopy full SHA for fc0ef5a
1 file changed
http-server/test/requests.mjs
@@ -35,9 +35,9 @@ describe("Requests", () => {
35
assert.equal(res1.headers["content-type"], "text/html");
36
assert.equal(res1.text, "You posted: some data");
37
38
- const res2 = await request(url).put("/howdy");
+ const res2 = await request(url).put("/howdy?with=params");
39
assert.equal(res2.headers["content-type"], "text/html");
40
- assert.equal(res2.text, "Not found: PUT /howdy");
+ assert.equal(res2.text, "Not found: PUT http://localhost:3000/howdy?with=params");
41
});
42
43
// Can't actually test this because node:http doesn't support custom methods.
0 commit comments